Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 60d3e3bb authored by NeilBrown's avatar NeilBrown Committed by Jonathan Cameron
Browse files

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: default avatarManuel Stahl <manuel.stahl@iis.fraunhofer.de>
Acked-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent d1bd4867
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment