summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThirupathi Chippakurthy <thirupathi.chippakurthy@stericsson.com>2011-10-21 12:19:07 +0530
committerPhilippe Langlais <philippe.langlais@linaro.org>2011-12-21 09:49:01 +0100
commit04c7099e21e6c44d1f1e785dc9846d584c4245ee (patch)
tree9c94332c5ccde95c0a889e567bcdce6435f44d60
parentea107a93f66d4ea9bd1ccdded21e0d755ec76830 (diff)
ux500: usb: restore INDEX register in resume path
Restoring the missing INDEX register value in ux500_restore_context(). without this Hub enumeration is inconsistent, if we do multiple connect/disconnect. ST-Ericsson ID: 364906 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
-rw-r--r--drivers/usb/musb/ux500.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index ef89af12bbf..d0bfd2ffdc9 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb/musb/ux500.c
@@ -189,6 +189,7 @@ void ux500_restore_context(void)
context.index_regs[i].rxhubport);
}
}
+ musb_writeb(musb_base, MUSB_INDEX, context.index);
#endif
}