staging/iio/mxs-lradc: fix preenable for multiple buffers
authorMichał Mirosław <[email protected]>
Sat, 4 May 2013 13:19:00 +0000 (14:19 +0100)
committerJonathan Cameron <[email protected]>
Wed, 22 May 2013 21:14:57 +0000 (22:14 +0100)
commitc80712c793febdf1b13ad0e1c71a051e071b3fd8
tree144b3b14d42837b27e342a17a8f30b66b3f30653
parentc7b0cf3e712775e8e2015c2f4582864159540be6
staging/iio/mxs-lradc: fix preenable for multiple buffers

This fixes 'preenable failed: -EINVAL' error when using this driver.

Signed-off-by: Michał Mirosław <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/staging/iio/adc/mxs-lradc.c