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

UPSTREAM: usb: dwc3: gadget: Ignore Update Transfer cmd params



The controller doesn't check for Update Transfer command parameters
DEPCMDPAR{0,1,2}. Writing to these registers is unnecessary. Ignoring
this improves performance slightly by removing the register write
delay.

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


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

(cherry picked from commit a02a26eb)

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