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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 May 2022 07:42:48 +0000 (09:42 +0200)
commit32e864e276949ca03ef964ce24628a433ad27e3d
tree98deea1d754aeb359a6418ca4d8caab73c30a088
parent423178bb4103730c45fafb0044f094c307f3ae4d
ASoC: max98090: Generate notifications on changes for custom control

[ Upstream commit 13fcf676d9e102594effc686d98521ff5c90b925 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/max98090.c