diff options
author | Mark Brown <[email protected]> | 2022-04-28 12:32:21 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-05-03 13:42:25 +0100 |
commit | a0746cbd0b8224c4c0e4ae59968075cb7c14762a (patch) | |
tree | 44ede7e668c934a22255f6372f08218e0638b09d /lib/mpi/mpi-sub-ui.c | |
parent | dd508e324cdde1c06ace08a8143fa50333a90703 (diff) |
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: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions