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

Mark Brown broonie at opensource.wolfsonmicro.com
Sat Mar 26 13:48:12 CET 2011


On Sat, Mar 26, 2011 at 03:36:15AM -0400, Mike Frysinger wrote:
> From: Cliff Cai <cliff.cai at analog.com>
> 
> Signed-off-by: Cliff Cai <cliff.cai at analog.com>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>

The conversion itself is good but one thing:

> +	for (i = 0; i < ARRAY_SIZE(ssm2602_reg); i++)
> +		snd_soc_write(codec, i, cache[i]);

The core cache sync stuff would be good here - that can be fixed in an
incremental patch if Liam is OK with this version.


More information about the Alsa-devel mailing list