summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRyan Lee <ryans.lee@maximintegrated.com>2020-07-07 15:57:36 -0500
committerMark Brown <broonie@kernel.org>2020-07-08 14:47:16 +0100
commita53bacc04d7e2b813ebe0ca4dae38716c00d7953 (patch)
treeb7bfafe66f37a17db1883b63a46b880c43db9798 /sound
parent503ed52225ed3d369c8e0dedf13556a7bc1e5c2b (diff)
downloadlinux-stable-a53bacc04d7e2b813ebe0ca4dae38716c00d7953.tar.gz
linux-stable-a53bacc04d7e2b813ebe0ca4dae38716c00d7953.tar.bz2
linux-stable-a53bacc04d7e2b813ebe0ca4dae38716c00d7953.zip
ASoC: codecs: max98373: Removed superfluous volume control from chip default
Volume control in probe function is not necessary. Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20200707205740.114927-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98373.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index 96718e3a1ad0..ec247491e5a9 100644
--- a/sound/soc/codecs/max98373.c
+++ b/sound/soc/codecs/max98373.c
@@ -779,13 +779,6 @@ static int max98373_probe(struct snd_soc_component *component)
regmap_write(max98373->regmap,
MAX98373_R202A_PCM_TO_SPK_MONO_MIX_2,
0x1);
- /* Set inital volume (0dB) */
- regmap_write(max98373->regmap,
- MAX98373_R203D_AMP_DIG_VOL_CTRL,
- 0x00);
- regmap_write(max98373->regmap,
- MAX98373_R203E_AMP_PATH_GAIN,
- 0x00);
/* Enable DC blocker */
regmap_write(max98373->regmap,
MAX98373_R203F_AMP_DSP_CFG,