kernel-fxtec-pro1x/drivers/hwmon
Henrik Rydberg a976f150a6 hwmon: applesmc: restore accelerometer and keyboard backlight on resume
On resume from suspend, the driver currently resets the logical state as
if it was brought up from halt.  This patch uses the
dev_pm_ops.resume/restore methods to synchronize the hardware with the
memorized logical state, in effect bringing back the accelerometer and
backlight to the state prior to suspend.  Works for both suspend to ram
and hibernation.  The patch has zero effect on the running state.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Cc: Nicolas Boichat <nicolas@boichat.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-22 07:17:49 -07:00
..
ams
abituguru.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
abituguru3.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
ad7414.c
ad7418.c
adcxx.c
adm1021.c drivers/hwmon/adm1021.c: add low_power support for adm1021 driver 2009-09-22 07:17:49 -07:00
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
ads7828.c
adt7462.c
adt7470.c
adt7473.c
adt7475.c hwmon: Add a driver for the ADT7475 hardware monitoring chip 2009-01-15 22:27:47 +01:00
applesmc.c hwmon: applesmc: restore accelerometer and keyboard backlight on resume 2009-09-22 07:17:49 -07:00
asb100.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
asus_atk0110.c hwmon: (asus_atk0110) Fix upper limit readings 2009-07-28 16:31:39 +02:00
atxp1.c
coretemp.c drivers/hwmon/coretemp.c: enable the Intel Atom 2009-09-22 07:17:48 -07:00
dme1737.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
ds1621.c hwmon: (ds1621) Avoid unneeded register access 2009-03-30 21:46:40 +02:00
f71805f.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
f71882fg.c hwmon: (f71882fg) Add support for the F71858F 2009-06-15 18:39:52 +02:00
f75375s.c trivial: Update my email address 2009-03-30 15:22:04 +02:00
fscher.c
fschmd.c hwmon: (fschmd) Add support for the FSC Hades IC 2009-03-30 21:46:45 +02:00
fscpos.c
g760a.c hwmon: add support for GMT G760A fan speed PWM controller 2009-04-07 08:31:03 -07:00
gl518sm.c
gl520sm.c
hdaps.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
hp_accel.c lis3: add three new laptop models 2009-06-16 19:47:57 -07:00
hwmon-vid.c hwmon-vid: Ignore 6th VID pin of AMD family 0Fh processors 2009-09-15 17:18:11 +02:00
hwmon.c hwmon: PCI quirk for hwmon access on MSI MS-7031 board 2009-06-15 18:39:50 +02:00
i5k_amb.c hwmon: (i5k_amb) Load automatically on all 5000/5400 chipsets 2009-01-07 16:37:33 +01:00
ibmaem.c hwmon: (ibmaem) Automatically load on HC10 blade 2009-06-15 18:39:46 +02:00
ibmpex.c
it87.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
k8temp.c hwmon: (k8temp) Fix temperature reporting for (most) K8 RevG CPUs 2009-01-15 22:27:47 +01:00
Kconfig Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 2009-09-18 09:22:36 -07:00
lis3lv02d.c lis3: add free-fall/wakeup function via platform_data 2009-09-22 07:17:48 -07:00
lis3lv02d.h lis3: add free-fall/wakeup function via platform_data 2009-09-22 07:17:48 -07:00
lis3lv02d_spi.c lis3_spi: code cleanups 2009-09-22 07:17:49 -07:00
lm63.c
lm70.c hwmon: (lm70) Add TI TMP121 support 2009-01-07 16:37:34 +01:00
lm75.c
lm75.h
lm77.c
lm78.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
lm80.c
lm83.c
lm85.c hwmon: (lm85) Don't bind to Winbond/Nuvoton WPCD377I 2009-09-15 17:18:14 +02:00
lm87.c
lm90.c hwmon: (lm90) Document support for the MAX6648/6692 chips 2009-03-12 13:36:38 +01:00
lm92.c
lm93.c
lm95241.c hwmon: (lm95241) Convert to new-style i2c driver 2009-04-07 15:32:59 +02:00
ltc4215.c hwmon: Add LTC4215 driver 2009-04-01 08:59:21 -07:00
ltc4245.c hwmon: Add LTC4245 driver 2009-01-07 16:37:32 +01:00
Makefile Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 2009-09-18 09:22:36 -07:00
max1111.c
max1619.c
max6650.c hwmon: (max6650) Fix lock imbalance 2009-07-11 13:42:37 +02:00
pc87360.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
pc87427.c hwmon: Use resource_size 2009-09-15 17:18:13 +02:00
pcf8591.c Move the pcf8591 driver to hwmon 2009-03-30 21:46:43 +02:00
s3c-hwmon.c ARM: HWMON: S3C24XX series ADC driver 2009-07-18 10:15:54 +01:00
sht15.c hwmon: fix freeing of gpio_data and irq 2009-09-22 07:17:49 -07:00
sis5595.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
smsc47b397.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
smsc47m1.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
smsc47m192.c
thmc50.c
tmp401.c hwmon: (tmp401) Add support for TI's TMP411 sensors chip 2009-06-15 18:39:47 +02:00
tmp421.c hwmon: Add driver for Texas Instruments TMP421/422/423 sensor chips 2009-09-15 17:18:11 +02:00
ultra45_env.c
via686a.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
vt1211.c hwmon: Use resource_size 2009-09-15 17:18:13 +02:00
vt8231.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
w83627hf.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
w83781d.c hwmon: Include <linux/io.h> instead of <asm/io.h> 2009-09-15 17:18:13 +02:00
w83791d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83792d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83793.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
wm831x-hwmon.c hwmon: WM831x PMIC hardware monitoring driver 2009-09-17 09:47:02 +02:00
wm8350-hwmon.c hwmon: Add WM835x PMIC hardware monitoring driver 2009-09-17 09:46:51 +02:00