From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] ASoC: soc-cache: Add reg_size as a member to snd_soc_codec Date: Wed, 12 Jan 2011 14:57:12 +0000 Message-ID: <20110112145711.GD14870@opensource.wolfsonmicro.com> 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 opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 36A7F103ACB for ; Wed, 12 Jan 2011 15:56:56 +0100 (CET) Content-Disposition: inline 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, patches@opensource.wolfsonmicro.com, Liam Girdwood List-Id: alsa-devel@alsa-project.org On Wed, Jan 12, 2011 at 10:38:58AM +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 Applied, thanks.