diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-02 18:24:40 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-03 10:59:45 +0000 |
commit | 82ae55dbcc4a37a4288346795755da5e07c09d33 (patch) | |
tree | 251db5b19419867208c43b109aa460010ab60c5d /sound | |
parent | 45e967553f3466f773ecd418c09fe92b753f18b0 (diff) | |
download | linux-82ae55dbcc4a37a4288346795755da5e07c09d33.tar.bz2 |
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 <broonie@opensource.wolfsonmicro.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, |