diff options
author | NeilBrown <neilb@suse.de> | 2015-02-24 13:24:41 +1100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-09 14:54:42 +0000 |
commit | 60d3e3bbd5992bb4478f9f99a4e4c5748a1a1ba7 (patch) | |
tree | 44327c9e057a82b0001722f5d9eeca3885757b88 /drivers/iio/dac | |
parent | d1bd4867b0959d5221dc528ccf60c8534aae865d (diff) | |
download | blackbird-op-linux-60d3e3bbd5992bb4478f9f99a4e4c5748a1a1ba7.tar.gz blackbird-op-linux-60d3e3bbd5992bb4478f9f99a4e4c5748a1a1ba7.zip |
iio: gyro: itg3200: add suspend/resume support.
Unless we put the device to sleep when not it use, it wastes
6mA.
If the device is asleep on probe, the 'id' register
sometimes mis-reads - so reset first. If the device responds
at all a command sent to the address, it is almost certainly
the correct device already.
Acked-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac')
0 files changed, 0 insertions, 0 deletions