* linux-next: build failures after merge of the sound-asoc tree
@ 2020-04-15 2:15 Stephen Rothwell
2020-04-15 3:28 ` Pierre-Louis Bossart
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2020-04-15 2:15 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Hui Wang,
Rander Wang, Vinod Koul, Pierre-Louis Bossart
[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]
Hi all,
After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) failed like this:
sound/soc/intel/boards/skl_hda_dsp_generic.c: In function 'skl_set_hda_codec_autosuspend_delay':
sound/soc/intel/boards/skl_hda_dsp_generic.c:178:37: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dai'
178 | struct snd_soc_dai *codec_dai = rtd->codec_dai;
| ^~
drivers/soundwire/intel.c: In function 'sdw_stream_setup':
drivers/soundwire/intel.c:672:39: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dais'
672 | ret = snd_soc_dai_set_sdw_stream(rtd->codec_dais[i], sdw_stream,
| ^~
In file included from include/linux/device.h:15,
from include/linux/acpi.h:15,
from drivers/soundwire/intel.c:8:
drivers/soundwire/intel.c:676:8: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dais'
676 | rtd->codec_dais[i]->name);
| ^~
include/linux/dev_printk.h:104:32: note: in definition of macro 'dev_err'
104 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
Caused by commit
1729025b04b9 ("ASoC: soc-core: remove cpu_dai/codec_dai/cpu_dais/codec_dais")
interacting with commit
3a24f135e6cc ("ASoC: intel/skl/hda - set autosuspend timeout for hda codecs")
(which should have been fixed up in commit
df3e71c42f05 ("Merge series "ASoC: Intel: machine drivers update for 5.8" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:")
or before like other references)
and interacting with commit
5e7484d01928 ("soundwire: intel: add sdw_stream_setup helper for .startup callback")
from Linus' tree.
I have used the sound-asoc tree from next-20200414 for today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build failures after merge of the sound-asoc tree
2020-04-15 2:15 linux-next: build failures after merge of the sound-asoc tree Stephen Rothwell
@ 2020-04-15 3:28 ` Pierre-Louis Bossart
2020-04-16 17:22 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Louis Bossart @ 2020-04-15 3:28 UTC (permalink / raw)
To: Stephen Rothwell, Mark Brown, Liam Girdwood
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Hui Wang,
Rander Wang, Vinod Koul, Bard liao
On 4/14/20 9:15 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> sound/soc/intel/boards/skl_hda_dsp_generic.c: In function 'skl_set_hda_codec_autosuspend_delay':
> sound/soc/intel/boards/skl_hda_dsp_generic.c:178:37: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dai'
> 178 | struct snd_soc_dai *codec_dai = rtd->codec_dai;
Yes, I just sent a fix for this.
> | ^~
> drivers/soundwire/intel.c: In function 'sdw_stream_setup':
> drivers/soundwire/intel.c:672:39: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dais'
> 672 | ret = snd_soc_dai_set_sdw_stream(rtd->codec_dais[i], sdw_stream,
> | ^~
> In file included from include/linux/device.h:15,
> from include/linux/acpi.h:15,
> from drivers/soundwire/intel.c:8:
> drivers/soundwire/intel.c:676:8: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dais'
> 676 | rtd->codec_dais[i]->name);
Bard, can you take care of the SoundWire change - this needs to change
to asoc_rtd_to_codec(rtd, i)
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linux-next: build failures after merge of the sound-asoc tree
2020-04-15 3:28 ` Pierre-Louis Bossart
@ 2020-04-16 17:22 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2020-04-16 17:22 UTC (permalink / raw)
To: Pierre-Louis Bossart
Cc: Stephen Rothwell, Liam Girdwood, Linux Next Mailing List,
Linux Kernel Mailing List, Hui Wang, Rander Wang, Vinod Koul,
Bard liao
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
On Tue, Apr 14, 2020 at 10:28:10PM -0500, Pierre-Louis Bossart wrote:
> On 4/14/20 9:15 PM, Stephen Rothwell wrote:
> > drivers/soundwire/intel.c:676:8: error: 'struct snd_soc_pcm_runtime' has no member named 'codec_dais'
> > 676 | rtd->codec_dais[i]->name);
> Bard, can you take care of the SoundWire change - this needs to change to
> asoc_rtd_to_codec(rtd, i)
Bard?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-16 17:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 2:15 linux-next: build failures after merge of the sound-asoc tree Stephen Rothwell
2020-04-15 3:28 ` Pierre-Louis Bossart
2020-04-16 17:22 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).