iio: ad799x: Fix ad7991/ad7995/ad7999 config setup
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 26 Nov 2014 10:35:35 +0000 (11:35 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 12 Dec 2014 12:34:00 +0000 (12:34 +0000)
commit2eacc608b3bf3519fc353c558454873f4589146d
tree21960185952e1a67244439dc2fb38fa98bb12d1e
parent9e8e228f2bf066c37eeee7c25b810cad3235427a
iio: ad799x: Fix ad7991/ad7995/ad7999 config setup

The ad7991/ad7995/ad7999 does not have a configuration register like the
other devices that can be written and read. The configuration is written as
part of the conversion sequence.

Fixes: 0f7ddcc1bff1 ("iio:adc:ad799x: Write default config on probe and reset alert status on probe")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad799x.c