Messages in this thread | | | Date | Thu, 12 Apr 2012 18:53:13 +0100 | From | Mark Brown <> | Subject | Re: [PATCH RESEND] x86, intel_mid: ADC management |
| |
On Wed, Apr 11, 2012 at 01:30:35PM +0100, Alan Cox wrote: > > needs to be abstracted as well. Consumers might not care that the gain > > just doubled because someone else requested it, but I suspect many of them will.
> At the bottom layer I'd expect a second consumer of the same data to get > -EBUSY, but you are then going to tell me there are ADCs with one gain > control for several channels no doubt 8)
There's also some sensible use cases like the multiple system monitoring subsystems we've got wanting to monitor the same power rail where it's useful to have multiple consumers sharing the ADC, though with those ones changing the gain probably doesn't make much sense. [unhandled content-type:application/pgp-signature] | |