Re: [PATCH RESEND] x86, intel_mid: ADC management

From: Alan Cox
Date: Wed Apr 11 2012 - 08:28:10 EST


> 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)


> end up with most of IIO. That's effectively what we did... It's big
> because there are
> actually not that many 'simple' adc's out there.

Fair enough - you would be the expert there.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/