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>
Showing
- drivers/input/misc/adxl34x-i2c.c 11 additions, 11 deletionsdrivers/input/misc/adxl34x-i2c.c
- drivers/input/misc/adxl34x-spi.c 8 additions, 8 deletionsdrivers/input/misc/adxl34x-spi.c
- drivers/input/misc/adxl34x.c 49 additions, 27 deletionsdrivers/input/misc/adxl34x.c
- drivers/input/misc/adxl34x.h 2 additions, 2 deletionsdrivers/input/misc/adxl34x.h
Loading
Please register or sign in to comment