Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82ae55db authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
parent 45e96755
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,