From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [PATCH] ASoC: soc-cache: Add reg_size as a member to snd_soc_codec Date: Wed, 12 Jan 2011 11:14:35 +0000 Message-ID: <1294830875.3303.89.camel@odin> References: <1294828738-22198-1-git-send-email-dp@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f179.google.com (mail-wy0-f179.google.com [74.125.82.179]) by alsa0.perex.cz (Postfix) with ESMTP id 70785103ABD for ; Wed, 12 Jan 2011 12:14:38 +0100 (CET) Received: by wyi11 with SMTP id 11so426502wyi.38 for ; Wed, 12 Jan 2011 03:14:38 -0800 (PST) In-Reply-To: <1294828738-22198-1-git-send-email-dp@opensource.wolfsonmicro.com> 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: Dimitris Papastamos Cc: alsa-devel@alsa-project.org, Mark Brown , patches@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org On Wed, 2011-01-12 at 10:38 +0000, Dimitris Papastamos wrote: > Simplify the use of reg_size, by calculating it once and storing it in > the codec structure for later reference. The value of reg_size is > reg_cache_size * reg_word_size. > > Signed-off-by: Dimitris Papastamos > --- Acked-by: Liam Girdwood -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk