Commit f0ed731a authored by Thinh Nguyen's avatar Thinh Nguyen Committed by Lianqin Hu
Browse files

UPSTREAM: usb: dwc3: gadget: Skip checking Update Transfer status



If we're not setting CMDACT (from "No Response" Update Transfer
command), then there's no point in checking for the command status. So
skip it. This can reduce a register read delay and improve performance.

Signed-off-by: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/3dc31cf11581ae3ee82d9202dda3fc17d897d786.1638240306.git.Thinh.Nguyen@synopsys.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit bc27117c)

Bug: 263189538
Bug: 293380009
Change-Id: Ia06408ffeeb561683662f00938bd9ab2f866eb89
Signed-off-by: default avatarKrishna Kurapati <quic_kriskura@quicinc.com>
Signed-off-by: default avatarlianqin.hu <hulianqin@vivo.corp-partner.google.com>
Signed-off-by: default avatarLianqin Hu <hulianqin@vivo.com>
parent 0b99b556
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment