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!