[PATCH v6 12/16] ASoC: codecs: add MT6357 support

Mark Brown broonie at kernel.org
Fri Jun 21 14:58:27 UTC 2024


On Wed, Jun 19, 2024 at 04:46:48PM +0200, amergnat at baylibre.com wrote:
> From: Nicolas Belin <nbelin at baylibre.com>
> 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240621/5404dfc3/attachment.sig>


More information about the dri-devel mailing list