[PATCH 1/2] ASoC: mediatek: common: Propagate control and DAPM errors
Mark Brown
broonie at kernel.org
Thu Sep 10 10:23:28 PDT 2026
On Thu, Sep 10, 2026 at 06:43:37PM +0700, phucduc.bui at gmail.com wrote:
> From: bui duc phuc <phucduc.bui at gmail.com>
>
> mtk_afe_add_sub_dai_control() currently ignores errors from
> ASoC control and DAPM setup functions.
>
> Propagate these errors to the caller.
mt8365-afe-pcm.c has:
{"HW_GAIN1_IN_CH1", "CONNSYS_I2S_CH1", "Hostless FM DL"},
missing a Switch from the control. I suspect there's other errors; this
really needs to be tested before it can be applied. Given the general
quality of the driver here and the lack of anything constructive we're
doing with the errors changes like this have high risk and low reward
unless we're actually running the code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260910/549e3c76/attachment.sig>
More information about the Linux-mediatek
mailing list