]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: ti_am335x_adc: check if we found the value
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 29 May 2013 16:49:55 +0000 (18:49 +0200)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 12 Jun 2013 16:50:23 +0000 (18:50 +0200)
commit1460c152c53335b5403045d056502eda1204c33a
treebb16df188c7950042192f4829f0400ed4d95f94b
parent18926edebcb82ca325abf843293801d4ff43436a
iio: ti_am335x_adc: check if we found the value

Usually we get all the values we wanted but it is possible, that te ADC
unit is busy performing the conversation for the HW events. In that case
-EBUSY is returned and the user may re-call the function.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
drivers/iio/adc/ti_am335x_adc.c