diff options
| author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2026-04-01 17:42:23 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-01 18:24:27 +0100 |
| commit | 64a496ba976324615b845d60739dfcdae3d57434 (patch) | |
| tree | dc8ed3b258476cac97fbaf5f11cfb5676241b786 /tools/perf/scripts/python | |
| parent | 1b61c8103c9317a9c37fe544c2d83cee1c281149 (diff) | |
ASoC: fsl_xcvr: Fix event generation in fsl_xcvr_mode_put()
ALSA controls should return 1 if the value in the control changed but the
control put operation fsl_xcvr_mode_put() only returns 0 or a negative
error code, causing ALSA to not generate any change events.
Add a suitable check in the function before updating the mode variable.
Fixes: 28564486866f ("ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20260401094226.2900532-9-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
