iio: adc: meson-saradc: switch from polling to interrupt mode
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 15 Feb 2017 19:31:45 +0000 (20:31 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Feb 2017 12:51:42 +0000 (12:51 +0000)
commit3af109131b7eb880ba0711344912d7a523a812b4
treeccbee131bc22e38631a9783f61127c9373a126f8
parent74e2419b00d870b373ada4878e3d66d8dc97f4b0
iio: adc: meson-saradc: switch from polling to interrupt mode

Switch from polling to interrupt mode.

Successfully tested on a S905GXBB-based Odroid C2.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/amlogic,meson-saradc.txt
drivers/iio/adc/meson_saradc.c