]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: isl29018: Support suspend and resume.
authorBryan Freed <bfreed@chromium.org>
Wed, 24 Oct 2012 23:39:00 +0000 (00:39 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 2 Nov 2012 09:50:59 +0000 (09:50 +0000)
commit1e45cf3c493cb76618558201a8ef6f3a065f9073
tree06c321b1730f10a46a6bc0027104e36d8d50358d
parentef4f92c064697a66a2a61977dd690af40dc01ff0
iio: isl29018: Support suspend and resume.

The driver leaves the device in power-down state anyway,
so there is nothing to do on suspend.
On resume, we just have to make sure the range and ADC
values are updated in the device since it may have been
powered down in suspend.

Signed-off-by: Bryan Freed <bfreed@chromium.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29018.c