diff options
author | Paul Fox <[email protected]> | 2011-01-12 17:00:07 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-13 08:03:12 -0800 |
commit | 2fb08e6ca9f00d1aedb3964983e9c8f84b36b807 (patch) | |
tree | b1ef2c797899cedbf4ad2f6853b327ed7be17e29 /net/unix/sysctl_net_unix.c | |
parent | 19412ce9fcc9ca2d0f5b62af15c63381f0ac9657 (diff) |
rtc-cmos: fix suspend/resume
rtc-cmos was setting suspend/resume hooks at the device_driver level.
However, the platform bus code (drivers/base/platform.c) only looks for
resume hooks at the dev_pm_ops level, or within the platform_driver.
Switch rtc_cmos to use dev_pm_ops so that suspend/resume code is executed
again.
Paul said:
: The user visible symptom in our (XO laptop) case was that rtcwake would
: fail to wake the laptop. The RTC alarm would expire, but the wakeup
: wasn't unmasked.
:
: As for severity, the impact may have been reduced because if I recall
: correctly, the bug only affected platforms with CONFIG_PNP disabled.
Signed-off-by: Paul Fox <[email protected]>
Signed-off-by: Daniel Drake <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Cc: <[email protected]> [2.6.37.x]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions