]> git.baikalelectronics.ru Git - kernel.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)
commit30a1eb1ac9ac877b8d6018966bb9c22907191ab7
tree914eb58c11481f39d8acca41ac3a1e9ae1e70593
parentf0ab37147e9b2378af50772f2d07dd49d00eb889
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: 128922348d23 ("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