]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wcd9335: Fix spurious event generation
authorMark Brown <broonie@kernel.org>
Fri, 3 Jun 2022 12:46:09 +0000 (14:46 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:44 +0000 (16:21 +0100)
commit2f54dbf24d63732d942cf732b0c48d6e691d72f2
tree68219bb33537220b241060d64555b6b152535227
parentda2d3049dbca96fe8314752fb7133aeff37e3576
ASoC: wcd9335: Fix spurious event generation

The slimbus mux put operation unconditionally reports a change in value
which means that spurious events are generated. Fix this by exiting early
in that case.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220603124609.4024666-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd9335.c