diff options
author | Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> | 2011-08-24 17:43:47 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-01-05 10:16:34 +0000 |
commit | bdae1bb09ceecaf7eabe6e7635f1e61196328f96 (patch) | |
tree | 0a9754f2ff093415f7c380b3436828f411566e3a /drivers/usb/musb/musb_core.c | |
parent | 1df0f9d497d1afef624f0c573aef082336b616bd (diff) |
Generic:USB:Pairing suspend/resume correctly for musb
Changing the resume_noirq call to resume call so that suspend/resume is paired
and we will have a stable USB power save.
ST-Ericsson ID: ER 280150
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index fbd1808bdc9..eef341abf8a 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2305,7 +2305,7 @@ static int musb_suspend(struct device *dev) return 0; } -static int musb_resume_noirq(struct device *dev) +static int musb_resume(struct device *dev) { /* for static cmos like DaVinci, register values were preserved * unless for some reason the whole soc powered down or the USB @@ -2346,7 +2346,7 @@ static int musb_runtime_resume(struct device *dev) static const struct dev_pm_ops musb_dev_pm_ops = { .suspend = musb_suspend, - .resume_noirq = musb_resume_noirq, + .resume = musb_resume, .runtime_suspend = musb_runtime_suspend, .runtime_resume = musb_runtime_resume, }; |