]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs47l15: Fix event generation for low power mux control
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 10:51:17 +0000 (11:51 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:59 +0000 (16:21 +0100)
commit53c4ad5799801b8d0657dcd44161d825dfe7c833
tree81b8e554eacdfec7084c85e1ea793dec47dc85e8
parent1a09bdb0f01e2dcfee80372b8592fc0038022895
ASoC: cs47l15: Fix event generation for low power mux control

cs47l15_in1_adc_put always returns zero regardless of if the control
value was updated. This results in missing notifications to user-space
of the control change. Update the handling to return 1 when the value is
changed.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623105120.1981154-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs47l15.c