summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThirupathi Chippakurthy <thirupathi.chippakurthy@stericsson.com>2011-10-21 12:19:07 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-01-04 09:55:25 +0100
commit2436007078fcd6783a58b6d57a7a13e5b38b798c (patch)
tree9f8b5d85226117a011535db14278c19a054f88fc
parent7af06cf1252ab8f33b5c9afab43b124e6564f417 (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
}