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 08:26:52 +0000 (10:26 +0200)
commit7758a40d8608e05e2fbeaeb11789b334cccdf2ab
tree9898f5b014e71a1b281a5b15cbd546f43a0f5ee6
parent081188d82e5b355fcab88073cf6dd46f41867ea7
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