diff options
| author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2026-04-01 17:42:19 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-01 18:24:23 +0100 |
| commit | fc4daaddb276d370b7da3819872044df446a1911 (patch) | |
| tree | 0aaa16065f6ace55aaa3a92e8f993a07c9d2b085 /tools/perf/scripts/python/flamegraph.py | |
| parent | 7e226209906906421f0d952d7304e48fdb0adabc (diff) | |
ASoC: fsl_micfil: Fix event generation in micfil_range_set()
ALSA controls should return 1 if the value in the control changed but the
control put operation micfil_range_set() only returns 0 or a negative
error code, causing ALSA to not generate any change events.
Use snd_soc_component_update_bits() function to replace the
regmap_update_bits(), for snd_soc_component_update_bits() has the
capability of return check status.
Also enable pm runtime before calling the function
snd_soc_component_update_bits() to make the regmap cache data align with
the value in hardware.
Fixes: ef1a7e02fdb7 ("ASoC: fsl_micfil: Set channel range control")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20260401094226.2900532-5-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
