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:15:43 +0000 (09:15 +0200)
commit0801f53e7096a1a4b8ac17d3ee6c415d4eb70e2f
tree4559017b67375c2542167ddd858e50d8653568a7
parent015a9f154ce17563af6cfa7da31b88be1967fb2b
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