Re: [PATCH v3 Resend 09/13] ASoC: dmaengine: Remove unused SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag

From: Mark Brown
Date: Thu Feb 14 2019 - 08:07:56 EST


On Thu, Feb 14, 2019 at 10:37:43AM +0100, Sylwester Nawrocki wrote:

> u32 maxburst;
> unsigned int slave_id;
> void *filter_data;
> - const char *chan_name;
> unsigned int fifo_size;
> unsigned int flags;

This fails to build:

CC sound/core/pcm_dmaengine.o
sound/arm/pxa2xx-pcm-lib.c: In function âpxa2xx_pcm_openâ:
sound/arm/pxa2xx-pcm-lib.c:128:22: error: âstruct snd_dmaengine_dai_dma_dataâ has no member named âchan_nameâ
dma_params->chan_name));
^~
sound/arm/pxa2xx-pcm-lib.c:129:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^

Attachment: signature.asc
Description: PGP signature