From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/2 v2] ASoC: SSM2602: convert to soc-cache Date: Sat, 26 Mar 2011 12:48:12 +0000 Message-ID: <20110326124812.GG28537@opensource.wolfsonmicro.com> References: <1301124539-527-2-git-send-email-vapier@gentoo.org> <1301124975-2963-1-git-send-email-vapier@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id DEA1D24431 for ; Sat, 26 Mar 2011 13:48:12 +0100 (CET) Content-Disposition: inline In-Reply-To: <1301124975-2963-1-git-send-email-vapier@gentoo.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mike Frysinger Cc: alsa-devel@alsa-project.org, Cliff Cai , device-drivers-devel@blackfin.uclinux.org, Liam Girdwood List-Id: alsa-devel@alsa-project.org On Sat, Mar 26, 2011 at 03:36:15AM -0400, Mike Frysinger wrote: > From: Cliff Cai > > Signed-off-by: Cliff Cai > Signed-off-by: Mike Frysinger 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.