Re: [PATCH v6 12/16] ASoC: codecs: add MT6357 support
From: Mark Brown
Date: Fri Jun 21 2024 - 10:58:50 EST
On Wed, Jun 19, 2024 at 04:46:48PM +0200, amergnat@xxxxxxxxxxxx wrote:
> From: Nicolas Belin <nbelin@xxxxxxxxxxxx>
>
> Add the support of MT6357 PMIC audio codec.
This breaks an x86 allmodconfig build:
/build/stage/linux/sound/soc/codecs/mt6357.c: In function ‘mt_delay_250_event’:
/build/stage/linux/sound/soc/codecs/mt6357.c:993:29: error: unused variable ‘pri
v’ [-Werror=unused-variable]
993 | struct mt6357_priv *priv = snd_soc_component_get_drvdata(cmpnt);
| ^~~~
/build/stage/linux/sound/soc/codecs/mt6357.c: In function ‘mt6357_platform_drive
r_probe’:
/build/stage/linux/sound/soc/codecs/mt6357.c:1867:55: error: too many arguments
for format [-Werror=format-extra-args]
1867 | return dev_err_probe(&pdev->dev, ret, "Failed to parse d
ts\n", __func__);
| ^~~~~~~~~~~~~~~~~~
~~~~~
cc1: all warnings being treated as errors
Attachment:
signature.asc
Description: PGP signature