]> git.karo-electronics.de Git - linux-beck.git/commit
iio: 104-quad-8: Fix index control configuration
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 28 Nov 2016 21:22:44 +0000 (16:22 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Dec 2016 10:00:24 +0000 (10:00 +0000)
commit47af2c676ae1e84140225d261a00bdf88f1f9f7e
tree914eb58c11481f39d8acca41ac3a1e9ae1e70593
parentaf8bc2fb99d4eea2d026d42db18abc5f3876936a
iio: 104-quad-8: Fix index control configuration

The LS7266R1 requires bits 5 & 6 to be high in order to select the Index
Control Register. This patch fixes a typo that incorrectly selects the
Input/Output Control Register where the Index Control Register was
desired.

Fixes: 28e5d3bb0325 ("iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8")
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/counter/104-quad-8.c