Thread (55 messages) 55 messages, 2 authors, 2012-07-26

[PATCH 07/21] ASoC: io: Prevent use of regmap if request fails

flat view

From: Lee Jones <hidden>
Date: 2012-07-26 16:05:55
Also in: alsa-devel, lkml

On 26/07/12 16:25, Mark Brown wrote:
On Thu, Jul 26, 2012 at 04:23:33PM +0100, Lee Jones wrote:
quoted
What's my 'control data'? It's not used in the original codec patch.
quoted
The old way wants to go:
quoted
snd_soc_update_bits() -> snd_soc_read() -> ab8500_codec_read_reg()
quoted
When then calls back into the abx500.
quoted
So what 'control data' should I be storing in the codec struct?
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'?

Surely if .read and .write are populated in 'struct 
snd_soc_codec_driver', then it should just call back into those?

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help