linux-next: build failures after merge of the sound-asoc tree
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 <[email protected]>:")
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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 8 lines · Stephen Rothwell
Hi all,
After merging the sound-asoc tree, today's linux-next build (
x86_64allmodconfig) 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: 'structsnd_soc_pcm_runtime' has no member named 'codec_dai'
178 | structsnd_soc_dai*codec_dai=rtd->codec_dai;
Yes, I just sent a fix for this.
Quoted 10 lines
| ^~
drivers/soundwire/intel.c: In function 'sdw_stream_setup':drivers/soundwire/intel.c:672:39: error: 'structsnd_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 frominclude/linux/device.h:15,
frominclude/linux/acpi.h:15,
fromdrivers/soundwire/intel.c:8:drivers/soundwire/intel.c:676:8: error: 'structsnd_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!
Mark Brown
maintainerQuoted 7 lines · Pierre-Louis Bossart
Quoted 2 lines · Stephen Rothwell
drivers/soundwire/intel.c:676:8: error: 'structsnd_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?