Commit 4b640cf3 authored by Jassi Brar's avatar Jassi Brar Committed by Mark Brown

ASoC: Samsung: Rename ASoC DMA driver

Rename Samsung ASoC DMA driver
	s3c-dma.[c/h] -> dma.[c/h]
Signed-off-by: default avatarJassi Brar <jassi.brar@samsung.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 83e37b8e
# S3c24XX Platform Support # S3c24XX Platform Support
snd-soc-s3c24xx-objs := s3c-dma.o snd-soc-s3c24xx-objs := dma.o
snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o
snd-soc-s3c2412-i2s-objs := s3c2412-i2s.o snd-soc-s3c2412-i2s-objs := s3c2412-i2s.o
snd-soc-s3c64xx-i2s-objs := s3c64xx-i2s.o snd-soc-s3c64xx-i2s-objs := s3c64xx-i2s.o
......
/* /*
* s3c-dma.c -- ALSA Soc Audio Layer * dma.c -- ALSA Soc Audio Layer
* *
* (c) 2006 Wolfson Microelectronics PLC. * (c) 2006 Wolfson Microelectronics PLC.
* Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/dma.h> #include <mach/dma.h>
#include "s3c-dma.h" #include "dma.h"
static const struct snd_pcm_hardware s3c_dma_hardware = { static const struct snd_pcm_hardware s3c_dma_hardware = {
.info = SNDRV_PCM_INFO_INTERLEAVED | .info = SNDRV_PCM_INFO_INTERLEAVED |
...@@ -453,7 +453,7 @@ static int s3c_dma_new(struct snd_card *card, ...@@ -453,7 +453,7 @@ static int s3c_dma_new(struct snd_card *card,
if (ret) if (ret)
goto out; goto out;
} }
out: out:
return ret; return ret;
} }
......
/* /*
* s3c-dma.h -- * dma.h --
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the * under the terms of the GNU General Public License as published by the
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <linux/mfd/wm8994/core.h> #include <linux/mfd/wm8994/core.h>
#include <linux/mfd/wm8994/registers.h> #include <linux/mfd/wm8994/registers.h>
#include "../codecs/wm8994.h" #include "../codecs/wm8994.h"
#include "s3c-dma.h" #include "dma.h"
#include "s3c64xx-i2s.h" #include "s3c64xx-i2s.h"
#define MACHINE_NAME 0 #define MACHINE_NAME 0
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c2412-i2s.h" #include "s3c2412-i2s.h"
#include "../codecs/wm8750.h" #include "../codecs/wm8750.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <sound/pcm.h> #include <sound/pcm.h>
#include <sound/soc.h> #include <sound/soc.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c-ac97.h" #include "s3c-ac97.h"
static struct snd_soc_card ln2440sbc; static struct snd_soc_card ln2440sbc;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <mach/gta02.h> #include <mach/gta02.h>
#include "../codecs/wm8753.h" #include "../codecs/wm8753.h"
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
static struct snd_soc_card neo1973_gta02; static struct snd_soc_card neo1973_gta02;
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "../codecs/wm8753.h" #include "../codecs/wm8753.h"
#include "lm4857.h" #include "lm4857.h"
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
/* define the scenarios */ /* define the scenarios */
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
#include "../codecs/uda1380.h" #include "../codecs/uda1380.h"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <mach/dma.h> #include <mach/dma.h>
#include <plat/audio.h> #include <plat/audio.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c-ac97.h" #include "s3c-ac97.h"
#define AC_CMD_ADDR(x) (x << 16) #define AC_CMD_ADDR(x) (x << 16)
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include "regs-i2s-v2.h" #include "regs-i2s-v2.h"
#include "s3c-i2s-v2.h" #include "s3c-i2s-v2.h"
#include "s3c-dma.h" #include "dma.h"
#undef S3C_IIS_V2_SUPPORTED #undef S3C_IIS_V2_SUPPORTED
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <plat/audio.h> #include <plat/audio.h>
#include <plat/dma.h> #include <plat/dma.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c-pcm.h" #include "s3c-pcm.h"
static struct s3c2410_dma_client s3c_pcm_dma_client_out = { static struct s3c2410_dma_client s3c_pcm_dma_client_out = {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <mach/regs-gpio.h> #include <mach/regs-gpio.h>
#include <mach/dma.h> #include <mach/dma.h>
#include "s3c-dma.h" #include "dma.h"
#include "regs-i2s-v2.h" #include "regs-i2s-v2.h"
#include "s3c2412-i2s.h" #include "s3c2412-i2s.h"
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <plat/regs-iis.h> #include <plat/regs-iis.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
static struct s3c2410_dma_client s3c24xx_dma_client_out = { static struct s3c2410_dma_client s3c24xx_dma_client_out = {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <plat/audio-simtec.h> #include <plat/audio-simtec.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
#include "s3c24xx_simtec.h" #include "s3c24xx_simtec.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <plat/audio-simtec.h> #include <plat/audio-simtec.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
#include "s3c24xx_simtec.h" #include "s3c24xx_simtec.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <plat/audio-simtec.h> #include <plat/audio-simtec.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
#include "s3c24xx_simtec.h" #include "s3c24xx_simtec.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <plat/regs-iis.h> #include <plat/regs-iis.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c24xx-i2s.h" #include "s3c24xx-i2s.h"
#include "../codecs/uda134x.h" #include "../codecs/uda134x.h"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/dma.h> #include <mach/dma.h>
#include "s3c-dma.h" #include "dma.h"
#include "regs-i2s-v2.h" #include "regs-i2s-v2.h"
#include "s3c64xx-i2s.h" #include "s3c64xx-i2s.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <mach/map.h> #include <mach/map.h>
#include <mach/dma.h> #include <mach/dma.h>
#include "s3c-dma.h" #include "dma.h"
#include "regs-i2s-v2.h" #include "regs-i2s-v2.h"
#include "s3c64xx-i2s.h" #include "s3c64xx-i2s.h"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c64xx-i2s.h" #include "s3c64xx-i2s.h"
#include "../codecs/wm8750.h" #include "../codecs/wm8750.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <sound/pcm.h> #include <sound/pcm.h>
#include <sound/soc.h> #include <sound/soc.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c-ac97.h" #include "s3c-ac97.h"
static struct snd_soc_card smdk2443; static struct snd_soc_card smdk2443;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <sound/soc.h> #include <sound/soc.h>
#include "../codecs/wm8580.h" #include "../codecs/wm8580.h"
#include "s3c-dma.h" #include "dma.h"
#include "s3c64xx-i2s.h" #include "s3c64xx-i2s.h"
/* /*
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <sound/soc.h> #include <sound/soc.h>
#include "s3c-dma.h" #include "dma.h"
#include "spdif.h" #include "spdif.h"
/* Audio clock settings are belonged to board specific part. Every /* Audio clock settings are belonged to board specific part. Every
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/device.h> #include <linux/device.h>
#include <sound/soc.h> #include <sound/soc.h>
#include "s3c-dma.h" #include "dma.h"
#include "s3c-ac97.h" #include "s3c-ac97.h"
static struct snd_soc_card smdk; static struct snd_soc_card smdk;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <plat/audio.h> #include <plat/audio.h>
#include <mach/dma.h> #include <mach/dma.h>
#include "s3c-dma.h" #include "dma.h"
#include "spdif.h" #include "spdif.h"
/* Registers */ /* Registers */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment