]> git.baikalelectronics.ru Git - kernel.git/commit
iio: ti_am335x_adc: Fix: Use same step id at FIFOs both ends
authorJan Kardell <jan.kardell@telliq.com>
Thu, 6 Nov 2014 22:18:00 +0000 (22:18 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 8 Jul 2014 20:21:22 +0000 (21:21 +0100)
commit8141b1ac44b91d8cbb8d0cf8e64cc349e3351be8
tree2d185ea2ee2aec823ff1ea516d3e086aa9799cb5
parent9832d92ff108ddb58909bffdba06aeaa1f49f778
iio: ti_am335x_adc: Fix: Use same step id at FIFOs both ends

Since AI lines could be selected at will (linux-3.11) the sending
and receiving ends of the FIFO does not agree about what step is used
for a line. It only works if the last lines are used, like 5,6,7,
and fails if ie 2,4,6 is selected in DT.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
Tested-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: stable@vger.kernel.org
drivers/iio/adc/ti_am335x_adc.c