From: Mark Brown Date: Fri, 2 Dec 2011 18:24:40 +0000 (+0000) Subject: ASoC: Don't resync WM8903 register cache on reset X-Git-Tag: MMI-PSA29.97-13-9~16612^2~328 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82ae55dbcc4a37a4288346795755da5e07c09d33;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: Don't resync WM8903 register cache on reset We only do this on initial power on so it's at best a waste of time as the core will have already defaulted to the same values. Signed-off-by: Mark Brown Tested-by: Stephen Warren --- diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index fdc3ff053f98..d840cbfc34ac 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c @@ -260,8 +260,6 @@ static int wm8903_volatile_register(struct snd_soc_codec *codec, unsigned int re static void wm8903_reset(struct snd_soc_codec *codec) { snd_soc_write(codec, WM8903_SW_RESET_AND_ID, 0); - memcpy(codec->reg_cache, wm8903_reg_defaults, - sizeof(wm8903_reg_defaults)); } static int wm8903_cp_event(struct snd_soc_dapm_widget *w,