[UPSTREAM] Attempt at improving ADC access

Werner Almesberger werner at openmoko.org
Thu Oct 16 22:26:19 CEST 2008

Balaji Rao wrote:
> To call adc_async_read from adc_sync_read we need to pass the adc_request as
> a callback param,

... unless you put the completion in a local variable of
adc_sync_read and just pass a pointer to the completion :-)

- Werner

More information about the openmoko-kernel mailing list