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

Commit 3256ff6e authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Mark Brown
Browse files

ASoC: max98090: Remove structure member extmic_mux from private data



There is no other use for extmic_mux than setting it to zero so remove it.

Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ced1933d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2333,7 +2333,6 @@ static int max98090_probe(struct snd_soc_codec *codec)
	max98090->lin_state = 0;
	max98090->pa1en = 0;
	max98090->pa2en = 0;
	max98090->extmic_mux = 0;

	ret = snd_soc_read(codec, M98090_REG_REVISION_ID);
	if (ret < 0) {
+0 −1
Original line number Diff line number Diff line
@@ -1541,7 +1541,6 @@ struct max98090_priv {
	u8 lin_state;
	unsigned int pa1en;
	unsigned int pa2en;
	unsigned int extmic_mux;
	unsigned int sidetone;
	bool master;
};