linux-xiaomi-chiron/drivers/misc
Daniel Mack 74614f8d9d 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>
2009-05-06 16:36:10 -07:00
..
c2port
eeprom
hdpuftrs
ibmasm
sgi-gru
sgi-xp
atmel-ssc.c
atmel_pwm.c
atmel_tclib.c
enclosure.c
hpilo.c
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
Kconfig
kgdbts.c
lkdtm.c
Makefile
phantom.c
tifm_7xx1.c
tifm_core.c