From: Daniel Mack Date: Wed, 6 May 2009 23:03:00 +0000 (-0700) Subject: isl29003: fix resume functionality X-Git-Tag: v2.6.30-rc5~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74614f8d9d4141a3752fc1c38706859b63f4842b;p=pandora-kernel.git 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 Cc: "Rafael J. Wysocki" Cc: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed