summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/st_accel.h
diff options
context:
space:
mode:
authorMartin Fuzzey <mfuzzey@parkeon.com>2015-05-13 13:26:38 +0300
committerJonathan Cameron <jic23@kernel.org>2015-05-17 12:29:07 +0300
commitecabae71319695fd1434f72840dd00898cb1c4dd (patch)
tree36fb5aa39df7e8cb8f9b460ff34d0e7d34ce44ae /drivers/iio/accel/st_accel.h
parent00e0c8e8e865730b34f2e5f46b5d745f74346065 (diff)
downloadlinux-ecabae71319695fd1434f72840dd00898cb1c4dd.tar.xz
iio: mma8452: Initialise before activating
Many of the hardware configuration registers may only be modified while the device is inactive. Currently the probe code first activates the device and then modifies the registers (eg to set the scale). This doesn't actually work but is not noticed since the scale used is the default value. While at it also issue a hardware reset command at probe time. Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/st_accel.h')
0 files changed, 0 insertions, 0 deletions