dwc2: explicitly force host mode for USB_DR_MODE_HOST
- Add dwc2_force_mode(hsotg, true) call in USB_DR_MODE_HOST case - Ensures proper host mode initialization for Rockchip platforms - Applies to both 6.18 and 6.19 kernel patches
This commit is contained in:
parent
fa61a10ddb
commit
ae085455e3
@ -35,6 +35,7 @@ index 111111111111..222222222222 100644
|
||||
+
|
||||
switch (hsotg->dr_mode) {
|
||||
case USB_DR_MODE_HOST:
|
||||
dwc2_force_mode(hsotg, true);
|
||||
/*
|
||||
* NOTE: This is required for some rockchip soc based
|
||||
* platforms on their host-only dwc2.
|
||||
|
||||
@ -35,6 +35,7 @@ index 111111111111..222222222222 100644
|
||||
+
|
||||
switch (hsotg->dr_mode) {
|
||||
case USB_DR_MODE_HOST:
|
||||
dwc2_force_mode(hsotg, true);
|
||||
/*
|
||||
* NOTE: This is required for some rockchip soc based
|
||||
* platforms on their host-only dwc2.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user