ASoC: ep93xx: fix build of ep93xx-ac97.c
PATCH 1/1 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(-)
sound/soc/cirrus/ep93xx-ac97.c +2 -2
@@ -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 , };
Signature · 1 line
1.8.3.2
Quoted 4 lines · H Hartley Sweeten
Fix the build of this driver. It was broken by:
Commit
453807f3006757a5661c4000262d7d9284b5214c
ASoC: ep93xx: Useep93xx_dma_paramsinstead ofep93xx_pcm_dma_params
Applied, thanks.