Commit 6b411907 authored by Imre Deak's avatar Imre Deak Committed by Juha Yrjola

CBUS: turn off tahvo-usb OTG idle mode during enabling

Fix a wake-from-sleep bug where OTG was not taken out from
idle mode.
Signed-off-by: default avatarImre Deak <imre.deak@solidboot.com>
Signed-off-by: default avatarJuha Yrjola <juha.yrjola@solidboot.com>
parent 94de3a85
......@@ -155,6 +155,9 @@ static int omap_otg_init(void)
return -ENODEV;
}
#endif
OTG_SYSCON_1_REG &= ~OTG_IDLE_EN;
udelay(100);
/* some of these values are board-specific... */
OTG_SYSCON_2_REG |= OTG_EN
/* for B-device: */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment