Skip to content
Unverified Commit a0746cbd authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: max98090: Fix event generation for custom controls



The previous fix for event generation for custom controls compared the
value already in the register with the value being written, missing the
logic that only applies the value to the register when the control is
already enabled. Fix this, compare the value cached in the driver data
rather than the register.

This should really be an autodisable control rather than open coded.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220428113221.15326-1-broonie@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent dd508e32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment