Re: [PATCH 1/6] ASoC: amd: Refactoring of DAI from DMA driver

From: Mark Brown
Date: Fri Dec 27 2019 - 18:06:12 EST


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

Attachment: signature.asc
Description: PGP signature