Skip to content

Commit

Permalink
staging:iio:adc:ad7152 bring more into line with abi.
Browse files Browse the repository at this point in the history
Get rid of explicit writes to registers and conversion mode
control.

Couple of bits I'm unsure about.
* Do calibration modes self reset when done?  How do you tell they are
done?

* Should we poll the status register just to be sure we have a new conversion?

All done sans hardware.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <Michael.Hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent 4050f49 commit ea993a5
Showing 1 changed file with 129 additions and 165 deletions.
Loading

0 comments on commit ea993a5

Please sign in to comment.