[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3201b67a-5453-8bdc-00b1-6617ff640876@amd.com>
Date: Mon, 19 Feb 2018 09:57:39 +0530
From: "Agrawal, Akshu" <Akshu.Agrawal@....com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>
Cc: Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Naveen Manohar <naveen.m@...el.com>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
Subject: Re: linux-next: build failure after merge of the sound-asoc tree
On 2/19/2018 5:02 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> sound/soc/amd/acp-da7219-max98357a.c: In function 'cz_da7219_init':
> sound/soc/amd/acp-da7219-max98357a.c:79:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
> da7219_aad_jack_det(codec, &cz_jack);
> ^~~~~
> In file included from sound/soc/amd/acp-da7219-max98357a.c:38:0:
> sound/soc/amd/../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
> void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
> ^~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_da7219_codec_init':
> sound/soc/intel/boards/kbl_da7219_max98357a.c:194:22: error: passing argument 1 of 'da7219_aad_jack_det' from incompatible pointer type [-Werror=incompatible-pointer-types]
> da7219_aad_jack_det(codec, &ctx->kabylake_headset);
> ^~~~~
> In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:23:0:
> sound/soc/intel/boards/../../codecs/da7219-aad.h:209:6: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
> void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack);
> ^~~~~~~~~~~~~~~~~~~
> sound/soc/intel/boards/kbl_da7219_max98357a.c: In function 'kabylake_card_late_probe':
> sound/soc/intel/boards/kbl_da7219_max98357a.c:552:34: error: passing argument 1 of 'hdac_hdmi_jack_port_init' from incompatible pointer type [-Werror=incompatible-pointer-types]
> return hdac_hdmi_jack_port_init(codec, &card->dapm);
> ^~~~~
> In file included from sound/soc/intel/boards/kbl_da7219_max98357a.c:21:0:
> sound/soc/intel/boards/../../codecs/hdac_hdmi.h:8:5: note: expected 'struct snd_soc_component *' but argument is of type 'struct snd_soc_codec *'
> int hdac_hdmi_jack_port_init(struct snd_soc_component *component,
> ^~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commits
>
> 608a300fc1f0 ("ASoC: AMD: Add machine driver for ST DA7219 MAX98357")
> b3ea70ee64ea ("ASoC: Intel: Add Kabylake-y Dialog Maxim machine driver")
>
> interacting with commit
>
> 451011221711 ("ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component")
>
> I have used the sound-asoc tree from next-20180216 for today.
>
Thanks Kuninori for updating the patches with fixes for the above failure.
https://patchwork.kernel.org/patch/10227101/
https://patchwork.kernel.org/patch/10227099/
Powered by blists - more mailing lists