]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98090: Generate notifications on changes for custom control
authorMark Brown <broonie@kernel.org>
Wed, 20 Apr 2022 19:34:54 +0000 (20:34 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 12:58:16 +0000 (13:58 +0100)
commit91063fed5c14258259f34a07bcefd9c85b79c6e5
tree91b5a9fcef577fc8ba386f72ccb8d4612ac80694
parent0016a73815b1e8dfccf5170e11a84d4efb8316e0
ASoC: max98090: Generate notifications on changes for custom control

The max98090 driver has some custom controls which share a put() function
which returns 0 unconditionally, meaning that events are not generated
when the value changes. Fix that.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220420193454.2647908-2-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98090.c