From: NeilBrown Date: Tue, 24 Feb 2015 02:24:41 +0000 (+1100) Subject: iio: gyro: itg3200: add suspend/resume support. X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~102^2~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60d3e3bbd5992bb4478f9f99a4e4c5748a1a1ba7;p=pandora-kernel.git 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 Acked-by: Hartmut Knaack Signed-off-by: NeilBrown Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed