[alsa-devel] [Device-drivers-devel] [PATCH 2/2 v2] ASoC: SSM2602: convert to soc-cache

Mike Frysinger vapier at gentoo.org
Sun Mar 27 17:07:10 CEST 2011


On Sun, Mar 27, 2011 at 06:36, Mark Brown wrote:
> On Sun, Mar 27, 2011 at 12:09:16AM -0400, Mike Frysinger wrote:
>> is there an existing codec driver you can highlight that does what
>> you're saying here ?
>
> $ grep snd_soc_cache_sync sound/soc/codecs/*.c
> sound/soc/codecs/cs4271.c:      ret = snd_soc_cache_sync(codec);
> sound/soc/codecs/max9850.c:                     ret = snd_soc_cache_sync(codec);
> sound/soc/codecs/wm8737.c:                      snd_soc_cache_sync(codec);
> sound/soc/codecs/wm8991.c:                      snd_soc_cache_sync(codec);
> sound/soc/codecs/wm8994.c:      ret = snd_soc_cache_sync(codec);
> sound/soc/codecs/wm8995.c:                      ret = snd_soc_cache_sync(codec);

so i could drop the whole for loop in favor of this one call ?
-mike


More information about the Alsa-devel mailing list