[alsa-devel] [PATCH] ASoC: soc-cache: Add reg_size as a member to snd_soc_codec

Liam Girdwood lrg at slimlogic.co.uk
Wed Jan 12 12:14:35 CET 2011


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 <dp at opensource.wolfsonmicro.com>
> ---

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list