]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: dwc3: qcom: Don't leave BCR asserted
authorKrishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Wed, 9 Jul 2025 13:29:00 +0000 (18:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jul 2025 15:30:59 +0000 (17:30 +0200)
commitef8abc0ba49ce717e6bc4124e88e59982671f3b5
tree9f87cf73001e88e589688b3c6e6aaccb73b2b704
parentcd0f8649d0e1c747d1bf6290201f38474fc23925
usb: dwc3: qcom: Don't leave BCR asserted

Leaving the USB BCR asserted prevents the associated GDSC to turn on. This
blocks any subsequent attempts of probing the device, e.g. after a probe
deferral, with the following showing in the log:

[    1.332226] usb30_prim_gdsc status stuck at 'off'

Leave the BCR deasserted when exiting the driver to avoid this issue.

Cc: stable <stable@kernel.org>
Fixes: a4333c3a6ba9 ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250709132900.3408752-1-krishna.kurapati@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-qcom.c