diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-05-06 16:03:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-05-06 16:36:10 -0700 |
commit | 74614f8d9d4141a3752fc1c38706859b63f4842b (patch) | |
tree | 5a8570b8315fe544ff24f7c82377ceda035f6de0 /mm/page_alloc.c | |
parent | 57226e7898076f864d6ce41ddeff4bbc772b950c (diff) |
isl29003: fix resume functionality
The isl29003 does not interpret the return value of
i2c_smbus_write_byte_data() correctly and hence causes an error on system
resume.
Also introduce power_state_before_suspend and restore the chip's power
state upon wakeup.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions