public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: ep93xx: fix build of ep93xx-ac97.c
@ 2013-07-19 16:53 H Hartley Sweeten
  2013-07-19 18:54 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2013-07-19 16:53 UTC (permalink / raw)
  To: linux-kernel
  Cc: alsa-devel, Ryan Mallon, Lars-Peter Clausen, Mark Brown,
	Liam Girdwood, Jaroslav Kysela, Takashi Iwai, H Hartley Sweeten

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 <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: ep93xx: fix build of ep93xx-ac97.c
  2013-07-19 16:53 [PATCH] ASoC: ep93xx: fix build of ep93xx-ac97.c H Hartley Sweeten
@ 2013-07-19 18:54 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-07-19 18:54 UTC (permalink / raw)
  To: H Hartley Sweeten
  Cc: linux-kernel, alsa-devel, Ryan Mallon, Lars-Peter Clausen,
	Liam Girdwood, Jaroslav Kysela, Takashi Iwai

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

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.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-19 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19 16:53 [PATCH] ASoC: ep93xx: fix build of ep93xx-ac97.c H Hartley Sweeten
2013-07-19 18:54 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox