]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: S3C: Add ADC synchronous read call.
authorBen Dooks <ben@simtec.co.uk>
Sat, 18 Jul 2009 09:12:27 +0000 (10:12 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sat, 18 Jul 2009 09:15:53 +0000 (10:15 +0100)
commite170adcb406504b8acd35554c69830c11916be1f
tree75a8aeb283e39d1b9b82bebfe347eb6c64def65f
parent885f9ebe7554628967b6e93b284dd3021e1bb280
ARM: S3C: Add ADC synchronous read call.

To add HWMON support, we need a synchronous read() call that blocks
until completion. Add the client that is being service to the select
and convert callbacks to make the code easier.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c/include/plat/adc.h
arch/arm/plat-s3c24xx/adc.c