Commit 52dc3a02 authored by Mark Brown's avatar Mark Brown Committed by Zheng Zengkai
Browse files

ASoC: max98090: Generate notifications on changes for custom control

stable inclusion
from stable-v5.10.117
commit 31606a73baa35acdae6ab95ff5d3928e2d8b4cb0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5L66B

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=31606a73baa35acdae6ab95ff5d3928e2d8b4cb0



--------------------------------

[ Upstream commit 13fcf676 ]

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: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220420193454.2647908-2-broonie@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 6dda6252
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment