diff options
author | Mark Brown <broonie@kernel.org> | 2022-04-20 16:34:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-20 23:18:18 +0300 |
commit | 08ef48404965cfef99343d6bbbcf75b88c74aa0e (patch) | |
tree | 1bb3592e84de66af3990ca92ef1ade258aed1420 /sound/soc/meson | |
parent | 3756aa16fadaef2873cfbd2659dfa1978a7e1859 (diff) | |
download | linux-08ef48404965cfef99343d6bbbcf75b88c74aa0e.tar.xz |
ASoC: da7219: Fix change notifications for tone generator frequency
The tone generator frequency control just returns 0 on successful write,
not a boolean value indicating if there was a change or not. Compare
what was written with the value that was there previously so that
notifications are generated appropriately when the value changes.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220420133437.569229-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson')
0 files changed, 0 insertions, 0 deletions