diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-10-07 18:08:58 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-07 18:19:15 +0200 |
| commit | 8de3f4e8e81148dd4cdd19e622d4be1fe07a7f52 (patch) | |
| tree | 7278e306e948e2e33af53f00889fbabb3eba5356 /kernel/module | |
| parent | 1f234d33e42e7c38f3ea6012ca93ff579c43ed58 (diff) | |
| download | linux-next-8de3f4e8e81148dd4cdd19e622d4be1fe07a7f52.tar.gz linux-next-8de3f4e8e81148dd4cdd19e622d4be1fe07a7f52.zip | |
ASoC: mediatek: mt8365: Handle constraint return value in FE startup
snd_pcm_hw_constraint_integer() may return 1, which is then returned
from mt8365_afe_fe_startup(). ASoC only treats 0 as success when marking
the DAI as started, so .shutdown() can be skipped on rollback.
Return 0 explicitly on success.
Fixes: e1991d102bc2 ("ASoC: mediatek: mt8365: Add the AFE driver support")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20261007110858.509341-5-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/module')
0 files changed, 0 insertions, 0 deletions
