[UPSTREAM] Attempt at improving ADC access
Werner Almesberger
werner at openmoko.org
Fri Oct 17 00:24:16 CEST 2008
Balaji Rao wrote:
> Sounds good. But in this case we still won't have an adc_request
> object within adc_sync_read to read the adc result from. And there is no
> other way we can get back the result. Isn't it ? :)
Hmm, good point, the result ... you could pass a pointer to a suitable
struct instead of just the completion. Not sure if that would be much
nicer in the end, though.
Ah well, it's pretty good already :-)
- Werner
More information about the openmoko-kernel
mailing list