[PATCH v2 09/25] ASoC: rt: use helper function

Mark Brown broonie at kernel.org
Mon Jan 30 15:18:11 CET 2023


On Tue, Jan 24, 2023 at 02:10:20AM +0000, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> Current ASoC has many helper function.
> This patch use it.

This breaks an x86 allmodconfig build (missing use of the helper):

/build/stage/linux/sound/soc/codecs/rt1318-sdw.c: In function ‘rt1318_set_sdw_stream’:
/build/stage/linux/sound/soc/codecs/rt1318-sdw.c:578:12: error: ‘struct snd_soc_dai’ has no member named ‘stream’
  578 |         dai->stream[direction].dma_data = stream;
      |            ^~
make[5]: *** [/build/stage/linux/scripts/Makefile.build:252: sound/soc/codecs/rt1318-sdw.o] Error 1
-------------- 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/20230130/af0f14ed/attachment.sig>


More information about the Alsa-devel mailing list