[alsa-devel] [PATCH] ASoC: Avoid direct register cache access when setting defaults

Liam Girdwood lrg at slimlogic.co.uk
Mon Jan 17 14:51:59 CET 2011


On Thu, 2010-12-30 at 12:57 +0000, Mark Brown wrote:
> Directly accessing the register cache means that we can't use anything
> except a flat register cache so use snd_soc_update_bits().
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm8523.c |    6 +++---
>  sound/soc/codecs/wm8741.c |   13 ++++++++-----
>  sound/soc/codecs/wm8904.c |   41 ++++++++++++++++++++++++++---------------
>  sound/soc/codecs/wm8955.c |   27 +++++++++++++++++++--------
>  sound/soc/codecs/wm8962.c |   30 ++++++++++++++++++++----------
>  sound/soc/codecs/wm8978.c |    2 +-
>  sound/soc/codecs/wm9090.c |   41 ++++++++++++++++++++++++-----------------
>  7 files changed, 101 insertions(+), 59 deletions(-)

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