From: Imre Deak Date: Sun, 6 Aug 2006 17:09:40 +0000 (+0300) Subject: CBUS: turn off tahvo-usb OTG idle mode during enabling X-Git-Tag: v2.6.18-omap1~118^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6b411907432fe97bce3e6a253f6b98ab6c105efc;p=linux-2.6-omap-h63xx.git 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: Imre Deak Signed-off-by: Juha Yrjola --- diff --git a/drivers/cbus/tahvo-usb.c b/drivers/cbus/tahvo-usb.c index 3fcb6ff95aa..9922ae0015f 100644 --- a/drivers/cbus/tahvo-usb.c +++ b/drivers/cbus/tahvo-usb.c @@ -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: */