Michael Hennerich 2b8cb40c9c staging:iio:adc:ad7152: Miscellaneous fixes and touch-up
Remove unused define.
Introduce cached SETUP variables.
Wait until calibration finished. (Device returns to idle state)
IIO_CHAN_INFO_CALIBSCALE_SEPARATE use proper scales. (range 1.0 to 1.99999)
i2c_smbus word transactions expect low byte first, therefore swap bytes.
CAPDIFF is bit in SETUP not CFG.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-06 16:03:29 -07:00
..
2011-08-05 22:16:42 -04:00
2011-07-26 16:49:47 -07:00
2011-08-29 08:47:46 -07:00
2011-07-28 01:30:07 -07:00
2011-08-24 23:28:49 +01:00
2011-07-22 14:39:51 +09:30
2011-08-13 14:50:32 -04:00
2011-07-26 16:49:47 -07:00
2011-07-25 21:00:19 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-08-25 16:25:33 -07:00
2011-08-16 07:23:34 -07:00