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)
commita7786cbae4b2732815da98efa39df96746b5bd0d
tree68219bb33537220b241060d64555b6b152535227
parentbe6dd72edb216f20fc80e426ece9fe9b8aabf033
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