[alsa-devel] [PATCH 1/3] ASoC: alc5623: Convert codec->hw_read to regmap_read

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Oct 14 01:32:50 CEST 2011


On Fri, Oct 14, 2011 at 06:39:43AM +0800, Axel Lin wrote:

> +       codec->cache_bypass = 1;
> +       for (i = 0 ; i < codec->driver->reg_cache_size ; i += step) {
> +               snd_soc_read(codec, i);
> +               cache[i] = val;
> +       }
> +       codec->cache_bypass = 0;

Oh, sorry - I misread this and this is what I'm expecting.


More information about the Alsa-devel mailing list