[PATCH v2 0/4] ASoC: mediatek: Handle constraint return value in FE startup
Cezary Rojewski
cezary.rojewski at intel.com
Wed Oct 7 07:03:12 PDT 2026
On 10/7/2026 1:08 PM, phucduc.bui at gmail.com wrote:
> From: bui duc phuc <phucduc.bui at gmail.com>
>
> Hi all,
>
> Some FE startup callbacks may return a positive value from constraint
> helpers, but ASoC expects 0 on success. This can cause .shutdown() to be
> skipped during rollback.
>
> Return 0 explicitly on success.
>
> Compile-tested only.
>
> Changes in v2:
> - Rename the patch subject.
> - Simplify the code change as suggested by Cezary.
Thank you for the update. The snd_pcm_hw_constraint_xxx() finding is a
good catch.
Reviewed-by: Cezary Rojewski <cezary.rojewski at intel.com>
More information about the Linux-mediatek
mailing list