[alsa-devel] [PATCH] ASoC: WM8995: Remember to flush the cache on resume

Liam Girdwood lrg at slimlogic.co.uk
Tue Jan 11 11:54:09 CET 2011


On Tue, 2011-01-11 at 09:28 +0000, Dimitris Papastamos wrote:
> Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm8995.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c
> index 3d2110c..96e0dc0 100644
> --- a/sound/soc/codecs/wm8995.c
> +++ b/sound/soc/codecs/wm8995.c
> @@ -1498,6 +1498,7 @@ static int wm8995_set_bias_level(struct snd_soc_codec *codec,
>  	case SND_SOC_BIAS_OFF:
>  		snd_soc_update_bits(codec, WM8995_POWER_MANAGEMENT_1,
>  				    WM8995_BG_ENA_MASK, 0);
> +		codec->cache_sync = 1;
>  		break;
>  	}
>  

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