diff options
author | rajaram <rajaram.ragupathy@stericsson.com> | 2011-11-22 12:11:02 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-12-06 10:58:08 +0100 |
commit | eb5cb770c2a7ba055a7c5d66f731b0e43289e4cc (patch) | |
tree | 6f419b2250b8d3ba25af8492cb8aa4212f0a8a3a | |
parent | c79ed0dce7202d909d870b2c2d3ef0b8ff0125a7 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 86c255d6efa..9e48a919367 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2357,7 +2357,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 |