aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrajaram <rajaram.ragupathy@stericsson.com>2011-11-22 12:11:02 +0100
committerPhilippe Langlais <philippe.langlais@linaro.org>2011-11-23 15:12:12 +0100
commitf94904d17571ad46b48409f2a9724eddffcdcd52 (patch)
tree99a88eb2eb8ac6b0f258ff799e4a55ac044ce984
parent12fdf626f99771d7174d1f422da2e03540c5094e (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 f882a2a47fd..3d96a33f13e 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2406,7 +2406,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