From 6b411907432fe97bce3e6a253f6b98ab6c105efc Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Sun, 6 Aug 2006 20:09:40 +0300 Subject: [PATCH] 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 --- drivers/cbus/tahvo-usb.c | 3 +++ 1 file changed, 3 insertions(+) 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: */ -- 2.41.1