[PATCH v2 08/21] ASoC: card: Let 'fixup_controls' return errors

Charles Keepax ckeepax at opensource.cirrus.com
Wed Oct 7 07:23:42 PDT 2026


On Sun, Oct 04, 2026 at 04:03:35PM +1000, James Calligeros wrote:
> From: Martin Povišer <povik+lin at cutebit.org>
> 
> Let the 'fixup_controls' card method return error values which will roll
> back the half-done binding of the card.
> 
> Signed-off-by: Martin Povišer <povik+lin at cutebit.org>
> Signed-off-by: James Calligeros <jcalligeros99 at gmail.com>
> ---
>  include/sound/soc-card.h                 |  2 +-
>  include/sound/soc.h                      |  2 +-
>  .../soc/mediatek/mt8188/mt8188-mt6359.c  |  4 +++-
>  sound/soc/soc-card.c                     | 12 +++++++++---
>  sound/soc/soc-core.c                     |  5 ++++-

Fixup is missing here for sound/soc/sdca/sdca_class_function.c

Thanks,
Charles



More information about the Linux-mediatek mailing list