[RESEND v8 3/3] ASoC: qcom: SC7280: Add machine driver

Mark Brown broonie at kernel.org
Wed Feb 9 17:09:55 CET 2022


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);
      |             ^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220209/83f6dbef/attachment.sig>


More information about the Alsa-devel mailing list