]> git.baikalelectronics.ru Git - kernel.git/commit
Input: adxl34 - make enable/disable separate from suspend/resume
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 1 Jul 2010 16:07:33 +0000 (09:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Jul 2010 20:13:21 +0000 (13:13 -0700)
commitc02a594f6f9b13841611b00147423ae9d3d38cb6
tree5d805e4e6da3f252bd9b4d8a958b25723970837f
parent90dac1f00df5ca606d1f82864d9c5e8da7417035
Input: adxl34 - make enable/disable separate from suspend/resume

Suspending and resuming the device should be separate from enabling
and disabling it through sysfs attribute and thus should not alter
ac->disabled flag.

[michael.hennerich@analog.com: various fixups]
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/adxl34x-i2c.c
drivers/input/misc/adxl34x-spi.c
drivers/input/misc/adxl34x.c
drivers/input/misc/adxl34x.h