Re: [PATCH 07/21] ASoC: io: Prevent use of regmap if request fails
From: Mark Brown
Date: Thu Jul 26 2012 - 11:25:28 EST
On Thu, Jul 26, 2012 at 04:23:33PM +0100, Lee Jones wrote:
> What's my 'control data'? It's not used in the original codec patch.
> The old way wants to go:
> snd_soc_update_bits() -> snd_soc_read() -> ab8500_codec_read_reg()
> When then calls back into the abx500.
> 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.
Attachment:
signature.asc
Description: Digital signature