summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrajaram <rajaram.ragupathy@stericsson.com>2011-11-22 12:11:02 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:13 +0200
commitccce83ab5ee3751591330a31acd3c07ca4df2c37 (patch)
tree82c18c60461024c8b62aa1bdd99c2324027b6aad
parenteb6d9f3e6dcd53ccd5b4092a4c24d38377ba4657 (diff)
usb : musb : Do not register musb core PM ops
Currently musb core PM ops does save and restore of context The platform can enter CPU idle before the platform or runtime suspend is called.But musb core PM ops is not aware of CPU idle. and thus it saves and restores some junk context Since junk context is restored there is instability in usb functions. ux500 USB platform file handles the save and restore properly during cable connect and disconnent.So we don't require handling of context save and restore in musb core and hence not registering musb core PM ops. ST-Ericsson Linux next: NA ST-Ericsson ID: 370868,372121 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie784c131792b686564561dc9b4bb262042e48504 Signed-off-by: rajaram <rajaram.ragupathy@stericsson.com>
-rw-r--r--drivers/usb/musb/musb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 9b9f3de02c0..2f0f8a48d1a 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2375,7 +2375,7 @@ static const struct dev_pm_ops musb_dev_pm_ops = {
.runtime_resume = musb_runtime_resume,
};
-#define MUSB_DEV_PM_OPS (&musb_dev_pm_ops)
+#define MUSB_DEV_PM_OPS NULL
#else
#define MUSB_DEV_PM_OPS NULL
#endif