mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
usb: dwc2: Disable power down feature on Rockchip SoCs
Power down feature of DWC2 module integrated in Rockchip SoCs doesn't work properly or needs some additional handling in PHY or SoC glue layer, so disable it for now. Without disabling power down, DWC2 sporadically cannot detect USB disconnect. Change-Id: Ic46fdb7a000b9029727a6a46e4ca5399b98285e8 Signed-off-by: Bin Yang <yangbin@rock-chips.com>
This commit is contained in:
@@ -89,6 +89,7 @@ static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg)
|
||||
p->ahbcfg = GAHBCFG_HBSTLEN_INCR16 <<
|
||||
GAHBCFG_HBSTLEN_SHIFT;
|
||||
p->lpm = false;
|
||||
p->power_down = 0;
|
||||
}
|
||||
|
||||
static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg)
|
||||
|
||||
Reference in New Issue
Block a user