summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/rpcmouse.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-05-26 05:44:24 +0400
committerChris Wright <chrisw@sous-sol.org>2006-06-05 21:18:13 +0400
commit0599c8ca5cf14f8bc8344d6603886b13fc723c6b (patch)
tree0a491556a4777cdc3b3bdb163d8327ae462b622b /drivers/input/mouse/rpcmouse.c
parente81ccf5afaf9cff1ed27c29ff96795c146a3d571 (diff)
downloadlinux-0599c8ca5cf14f8bc8344d6603886b13fc723c6b.tar.xz
[PATCH] PowerMac: force only suspend-to-disk to be valid
For a very long time, echoing 'standby' or 'mem' into /sys/power/state has killed the machine on powerpc. This patch fixes that. This patch adds the .valid callback to pm_ops on PowerMac so that only the suspend to disk state can be entered. Note that just returning 0 would suffice since the upper layers don't pass PM_SUSPEND_DISK down, but we handle it there regardless just in case that changes. Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/mouse/rpcmouse.c')
0 files changed, 0 insertions, 0 deletions