[alsa-devel] [PATCH 1/6] ASoC: amd: Refactoring of DAI from DMA driver

Mark Brown broonie at kernel.org
Fri Dec 27 23:55:55 CET 2019


On Fri, Dec 27, 2019 at 06:20:50PM +0530, Ravulapati Vishnu vardhan rao wrote:
> ASoC: PCM DMA driver should only have dma ops.
> So Removed all DAI related functionality.Refactoring
> the PCM DMA diver code.Added new file containing only DAI ops

This breaks the build:

  CC      sound/soc/amd/raven/acp3x-i2s.o
In file included from sound/soc/amd/raven/pci-acp3x.c:13:
sound/soc/amd/raven/acp3x.h: In function ‘acp_get_byte_count’:
sound/soc/amd/raven/acp3x.h:94:19: error: ‘SNDRV_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
  if (direction == SNDRV_PCM_STREAM_PLAYBACK) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/amd/raven/acp3x.h:94:19: note: each undeclared identifier is reported only once for each function it appears in
-------------- 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/20191227/712a1998/attachment.sig>


More information about the Alsa-devel mailing list