diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-13 17:02:15 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-13 17:02:15 +0100 |
| commit | 7d47529dd0952aaa3e887496fef8ee46e6b31580 (patch) | |
| tree | f96ef72974bf3e8183565609d0474347a5b96eca /scripts/basic | |
| parent | fe9dcf5f65751445aa1137e81fb6e2c614c2e97e (diff) | |
| parent | 303961c7daf1ce87848fa17260cd307577850461 (diff) | |
| download | linux-7d47529dd0952aaa3e887496fef8ee46e6b31580.tar.gz linux-7d47529dd0952aaa3e887496fef8ee46e6b31580.zip | |
ASoC: Fix constraint return value handling
bui duc phuc <phucduc.bui@gmail.com> says:
snd_pcm_hw_constraint_minmax() and snd_pcm_hw_constraint_integer()
may return positive values on success. However, ASoC only marks the
DAI, link, or component as started or opened when the corresponding
callback returns 0.
This series fixes affected ASoC drivers to return 0 on success and
properly handle rollback paths.
Found by manual code inspection.
Compile-tested only.
Link: https://patch.msgid.link/20261008103831.542533-1-phucduc.bui@gmail.com
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
