[alsa-devel] [PATCH 1/6] ASoC: SSM2602: Fix default register cache

Liam Girdwood lrg at slimlogic.co.uk
Sun May 8 22:53:33 CEST 2011


On Sun, 2011-05-08 at 09:24 -0700, Lars-Peter Clausen wrote:
> Some of the values in the default register cache did not represent the codecs
> state after reset. This patch fixes it.
> 
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> ---
>  sound/soc/codecs/ssm2602.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
> index 30229cf..a09d66c 100644
> --- a/sound/soc/codecs/ssm2602.c
> +++ b/sound/soc/codecs/ssm2602.c
> @@ -60,8 +60,8 @@ struct ssm2602_priv {
>   * There is no point in caching the reset register
>   */
>  static const u16 ssm2602_reg[SSM2602_CACHEREGNUM] = {
> -	0x0017, 0x0017, 0x0079, 0x0079,
> -	0x0000, 0x0000, 0x0000, 0x000a,
> +	0x0097, 0x0097, 0x0079, 0x0079,
> +	0x000a, 0x0008, 0x009f, 0x000a,
>  	0x0000, 0x0000
>  };
>  

All 

Acked-by: Liam Girdwood <lrg at ti.com>




More information about the Alsa-devel mailing list