summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/rockchip_saradc.c
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-12-08 18:41:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-08 16:03:42 +0100
commitc68013f3a9a7c901a9a7935a973a0ab1cc884c4a (patch)
treea06176f3331f570d066b32ef83676a3aaff0b24c /drivers/iio/adc/rockchip_saradc.c
parentd456d61f53ece55ae17599bf004bb071c0a618e4 (diff)
downloadtalos-op-linux-c68013f3a9a7c901a9a7935a973a0ab1cc884c4a.tar.gz
talos-op-linux-c68013f3a9a7c901a9a7935a973a0ab1cc884c4a.zip
iio: adc: ina2xx: Remove unneeded dummy read to clear CNVR flag
Although the datasheet states the CNVR flag is cleared by reading the BUS_VOLTAGE register, it is actually cleared by reading any of the voltage/current/power registers. The behaviour has been confirmed by TI support: http://e2e.ti.com/support/amplifiers/current-shunt-monitors/f/931/p/647053/2378282 Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/rockchip_saradc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud