Skip to content

Commit a53bacc

Browse files
Ryan Leebroonie
authored andcommitted
ASoC: codecs: max98373: Removed superfluous volume control from chip default
Volume control in probe function is not necessary. Signed-off-by: Ryan Lee <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 503ed52 commit a53bacc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

sound/soc/codecs/max98373.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -779,13 +779,6 @@ static int max98373_probe(struct snd_soc_component *component)
779779
regmap_write(max98373->regmap,
780780
MAX98373_R202A_PCM_TO_SPK_MONO_MIX_2,
781781
0x1);
782-
/* Set inital volume (0dB) */
783-
regmap_write(max98373->regmap,
784-
MAX98373_R203D_AMP_DIG_VOL_CTRL,
785-
0x00);
786-
regmap_write(max98373->regmap,
787-
MAX98373_R203E_AMP_PATH_GAIN,
788-
0x00);
789782
/* Enable DC blocker */
790783
regmap_write(max98373->regmap,
791784
MAX98373_R203F_AMP_DSP_CFG,

0 commit comments

Comments
 (0)