Commit b958f6d
usb: dwc3: qcom: Don't leave BCR asserted
commit ef8abc0 upstream.
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 <[email protected]>
Fixes: a4333c3 ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Acked-by: Thinh Nguyen <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Krishna Kurapati <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ adapted to individual clock management instead of bulk clock operations ]
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
(cherry picked from commit 75747e25becae912ccb10679694f2a04358dd23c)1 parent 6d7f88a commit b958f6d
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
766 | | - | |
| 766 | + | |
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
839 | | - | |
840 | 838 | | |
841 | 839 | | |
842 | 840 | | |
| |||
857 | 855 | | |
858 | 856 | | |
859 | 857 | | |
860 | | - | |
861 | | - | |
862 | 858 | | |
863 | 859 | | |
864 | 860 | | |
| |||
0 commit comments