[PATCH 3/4] ASoC: mediatek: mt8189:return 0 from mt8189_fe_startup() on success

Cezary Rojewski cezary.rojewski at intel.com
Tue Oct 6 03:44:09 PDT 2026


On 10/6/2026 12:16 PM, phucduc.bui at gmail.com wrote:
> From: bui duc phuc <phucduc.bui at gmail.com>
> 
> snd_pcm_hw_constraint_integer() may return 1, which is then returned
> from mt8189_fe_startup(). ASoC only treats 0 as success when marking
> the DAI as started, so .shutdown() can be skipped on rollback.
Nothing major here, just the missing space between 'mt8189:return' in
the title.

IMHO the title could be made more explicit as you're in fact fixing how
the snd_pcm_hw_constraint_xxx() is handled by the driver. "Return 0 from
(...)" misses the point.

Kind regards,
Czarek



More information about the Linux-mediatek mailing list