2013-07-19 16:54:36

by H Hartley Sweeten

[permalink] [raw]
Subject: [PATCH] ASoC: ep93xx: fix build of ep93xx-ac97.c

Fix the build of this driver. It was broken by:

Commit 453807f3006757a5661c4000262d7d9284b5214c
ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params

The removed struct ep93xx_pcm_dma_params use the member 'dma_port' to
select the dma channel. The struct ep93xx_dma_data uses the member
'port'.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ryan Mallon <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
---
sound/soc/cirrus/ep93xx-ac97.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/cirrus/ep93xx-ac97.c b/sound/soc/cirrus/ep93xx-ac97.c
index ac73c60..04491f0 100644
--- a/sound/soc/cirrus/ep93xx-ac97.c
+++ b/sound/soc/cirrus/ep93xx-ac97.c
@@ -102,13 +102,13 @@ static struct ep93xx_ac97_info *ep93xx_ac97_info;

static struct ep93xx_dma_data ep93xx_ac97_pcm_out = {
.name = "ac97-pcm-out",
- .dma_port = EP93XX_DMA_AAC1,
+ .port = EP93XX_DMA_AAC1,
.direction = DMA_MEM_TO_DEV,
};

static struct ep93xx_dma_data ep93xx_ac97_pcm_in = {
.name = "ac97-pcm-in",
- .dma_port = EP93XX_DMA_AAC1,
+ .port = EP93XX_DMA_AAC1,
.direction = DMA_DEV_TO_MEM,
};

--
1.8.3.2


2013-07-19 18:54:42

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] ASoC: ep93xx: fix build of ep93xx-ac97.c

On Fri, Jul 19, 2013 at 09:53:25AM -0700, H Hartley Sweeten wrote:
> Fix the build of this driver. It was broken by:
>
> Commit 453807f3006757a5661c4000262d7d9284b5214c
> ASoC: ep93xx: Use ep93xx_dma_params instead of ep93xx_pcm_dma_params

Applied, thanks.


Attachments:
(No filename) (259.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments