On Wed, Feb 09, 2022 at 06:56:21PM +0530, Srinivasa Rao Mandadapu wrote:
Add new machine driver to register sound card on sc7280 based targets and do the required configuration for lpass cpu dai and external codecs connected over MI2S and soundwire interfaces. Add support for audio jack detection, soundwire init and MBHC.
This breaks an x86 allmodconfig build:
/mnt/kernel/sound/soc/qcom/sc7280.c: In function 'sc7280_snd_hw_params': /mnt/kernel/sound/soc/qcom/sc7280.c:151:15: error: implicit declaration of function 'snd_soc_dai_get_sdw_stream'; did you mean 'snd_soc_dai_get_pcm_stream'? [-Werror=implicit-function-declaration] 151 | sruntime = snd_soc_dai_get_sdw_stream(codec_dai, substream->stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | snd_soc_dai_get_pcm_stream /mnt/kernel/sound/soc/qcom/sc7280.c:151:13: error: assignment to 'struct sdw_stream_runtime *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 151 | sruntime = snd_soc_dai_get_sdw_stream(codec_dai, substream->stream); | ^