]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: dwc3: gadget: clear SUSPHY bit before ep cmds
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 12 Apr 2024 20:26:02 +0000 (22:26 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Thu, 16 May 2024 06:38:24 +0000 (08:38 +0200)
commit967b31c3ccdc09284a4447ebc4577bb7ef06d500
tree34b7578225b38641823397e5db8656193073af93
parent13395507ca1f48de25e70f4d27f709b1a4fa0a82
usb: dwc3: gadget: clear SUSPHY bit before ep cmds

Upstream Linux commit 2b0f11df84bb.

Synopsys Databook 2.60a has a note that if we're
sending an endpoint command we _must_ make sure that
DWC3_GUSB2PHY(n).SUSPHY bit is cleared.

This patch implements that particular detail.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20240412202611.3565052-3-alexander.sverdlin@siemens.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/usb/dwc3/gadget.c