Skip to content
Commit 3f7ea467 authored by Nelson Castillo's avatar Nelson Castillo Committed by Ben Dooks
Browse files

[ARM] S3C: ADC: Expose number of remaining conversions to


convert callback

This patch allow us to efficiently modify the number of
remaining conversions from the client side. This us useful
when we do not know in advance how many conversions we will
need or when we need to cancel pending conversions.

This change is simple enough to be compatible with existing
code that can just define the new pointer in the callback
and ignore it.

Sample usage:

http://tinyurl.com/s3c2410-ts-c (function stylus_adc_action).

Signed-off-by: default avatarNelson Castillo <arhuaco@freaks-unidos.net>
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent b57f0fe1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment