diff options
| author | 2026-04-01 17:42:17 +0800 | |
|---|---|---|
| committer | 2026-04-01 18:24:21 +0100 | |
| commit | 59b9061824f2179fe133e2636203548eaba3e528 (patch) | |
| tree | 3f76f5373bf0fd16d9815fde7b7ecb2ff8bb4137 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | ASoC: fsl_micfil: Add access property for "VAD Detected" (diff) | |
ASoC: fsl_micfil: Fix event generation in hwvad_put_enable()
ALSA controls should return 1 if the value in the control changed but the
control put operation hwvad_put_enable() 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 vad_enabled
variable.
Fixes: 29dbfeecab85 ("ASoC: fsl_micfil: Add Hardware Voice Activity Detector support")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20260401094226.2900532-3-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
