26 Jul
2012
26 Jul
'12
10:23 p.m.
On Thu, Jul 26, 2012 at 05:05:51PM +0100, Lee Jones wrote:
On 26/07/12 16:25, Mark Brown wrote:
You're supposed to use it for the data you use to call back into the underlying I/O code.
I don't understand. What 'data'?
Whatever your I/O layer so desires, the core doesn't care. It's generally whatever the lower layer that does your I/O takes to identify the device.
Surely if .read and .write are populated in 'struct snd_soc_codec_driver', then it should just call back into those?
Yes, and in fact that's what we do!