S3C AUDIO: Rename 's3c24xx-pcm' driver to 's3c_audio'
Subsystems (3)
PATCH 2/7 S3C AUDIO: Rename 's3c24xx-pcm' driver to 's3c_audio'
Making room for namespace for the PCM Controller driver the platform driver(s3c24xx-pcm) has been renamed to SoC agnostic name 's3c-audio'.
Signed-off-by Jassi Brar <[email protected]>
--- sound/soc/s3c24xx/Makefile | 2 +- sound/soc/s3c24xx/jive_wm8750.c | 2 +- sound/soc/s3c24xx/ln2440sbc_alc650.c | 2 +- sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 2 +- sound/soc/s3c24xx/neo1973_wm8753.c | 2 +- sound/soc/s3c24xx/s3c-audio.c | 467 ++++++++++++++++++++++++ sound/soc/s3c24xx/s3c-audio.h | 31 ++ sound/soc/s3c24xx/s3c-i2s-v2.c | 2 +- sound/soc/s3c24xx/s3c2412-i2s.c | 2 +- sound/soc/s3c24xx/s3c2443-ac97.c | 2 +- sound/soc/s3c24xx/s3c24xx-i2s.c | 2 +- sound/soc/s3c24xx/s3c24xx-pcm.c | 467 ------------------------ sound/soc/s3c24xx/s3c24xx-pcm.h | 31 -- sound/soc/s3c24xx/s3c24xx_simtec.c | 2 +- sound/soc/s3c24xx/s3c24xx_simtec_hermes.c | 2 +- sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c | 2 +- sound/soc/s3c24xx/s3c24xx_uda134x.c | 2 +- sound/soc/s3c24xx/s3c64xx-i2s.c | 2 +- sound/soc/s3c24xx/smdk2443_wm9710.c | 2 +- sound/soc/s3c24xx/smdk64xx_wm8580.c | 2 +- 20 files changed, 514 insertions(+), 514 deletions(-) create mode 100644 sound/soc/s3c24xx/s3c-audio.c create mode 100644 sound/soc/s3c24xx/s3c-audio.h delete mode 100644 sound/soc/s3c24xx/s3c24xx-pcm.c delete mode 100644 sound/soc/s3c24xx/s3c24xx-pcm.h
sound/soc/s3c24xx/Makefile +1 -1
@@ -1,5 +1,5 @@ # S3c24XX Platform Support -snd-soc-s3c24xx-objs := s3c24xx-pcm.o +snd-soc-s3c24xx-objs := s3c-audio.o snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o snd-soc-s3c2412-i2s-objs := s3c2412-i2s.o snd-soc-s3c64xx-i2s-objs := s3c64xx-i2s.o
sound/soc/s3c24xx/jive_wm8750.c +1 -1
@@ -25,7 +25,7 @@#include <asm/mach-types.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c2412-i2s.h" #include "../codecs/wm8750.h"
sound/soc/s3c24xx/ln2440sbc_alc650.c +1 -1
@@ -24,7 +24,7 @@#include <sound/soc-dapm.h> #include "../codecs/ac97.h" -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-ac97.h" static struct snd_soc_card ln2440sbc;
sound/soc/s3c24xx/neo1973_gta02_wm8753.c +1 -1
@@ -32,7 +32,7 @@#include <asm/io.h> #include <mach/gta02.h> #include "../codecs/wm8753.h" -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" static struct snd_soc_card neo1973_gta02;
sound/soc/s3c24xx/neo1973_wm8753.c +1 -1
@@ -36,7 +36,7 @@#include "../codecs/wm8753.h" #include "lm4857.h" -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" /* define the scenarios */
sound/soc/s3c24xx/s3c-audio.c new file +467 -0
467 lines not on this page · raw message
sound/soc/s3c24xx/s3c-audio.h new file +31 -0
@@ -0,0 +1,31 @@ +/* +* s3c-audio.h -- +* +* 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 +* Free Software Foundation; either version 2 of the License, or (at your +* option) any later version. +* +* ALSA PCM interface for the Samsung S3C24xx CPU +*/ + +#ifndef _S3C_AUDIO_H +#define _S3C_AUDIO_H + +#define ST_RUNNING (1<<0) +#define ST_OPENED (1<<1) + +struct s3c_audio_dma_params { +struct s3c2410_dma_client *client;/* stream identifier */ +int channel;/* Channel ID */ +dma_addr_t dma_addr; +int dma_size;/* Size of the DMA transfer */ +}; + +#define S3C24XX_DAI_I2S 0 + +/* platform data */ +extern struct snd_soc_platform s3c24xx_soc_platform; +extern struct snd_ac97_bus_ops s3c24xx_ac97_ops; + +#endif
sound/soc/s3c24xx/s3c-i2s-v2.c +1 -1
@@ -35,7 +35,7 @@#include <mach/dma.h> #include "s3c-i2s-v2.h" -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #undef S3C_IIS_V2_SUPPORTED
sound/soc/s3c24xx/s3c2412-i2s.c +1 -1
@@ -37,7 +37,7 @@#include <mach/regs-gpio.h> #include <mach/dma.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c2412-i2s.h" #define S3C2412_I2S_DEBUG 0
sound/soc/s3c24xx/s3c2443-ac97.c +1 -1
@@ -35,7 +35,7 @@#include <asm/dma.h> #include <mach/dma.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-ac97.h" struct s3c24xx_ac97_info {
sound/soc/s3c24xx/s3c24xx-i2s.c +1 -1
@@ -38,7 +38,7 @@#include <plat/regs-iis.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" static struct s3c2410_dma_client s3c24xx_dma_client_out = {
sound/soc/s3c24xx/s3c24xx-pcm.c deleted +0 -467
467 lines not on this page · raw message
sound/soc/s3c24xx/s3c24xx-pcm.h deleted +0 -31
@@ -1,31 +0,0 @@ -/* -* s3c24xx-pcm.h -- -* -* 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 -* Free Software Foundation; either version 2 of the License, or (at your -* option) any later version. -* -* ALSA PCM interface for the Samsung S3C24xx CPU -*/ - -#ifndef _S3C_AUDIO_H -#define _S3C_AUDIO_H - -#define ST_RUNNING (1<<0) -#define ST_OPENED (1<<1) - -struct s3c_audio_dma_params { -struct s3c2410_dma_client *client;/* stream identifier */ -int channel;/* Channel ID */ -dma_addr_t dma_addr; -int dma_size;/* Size of the DMA transfer */ -}; - -#define S3C24XX_DAI_I2S 0 - -/* platform data */ -extern struct snd_soc_platform s3c24xx_soc_platform; -extern struct snd_ac97_bus_ops s3c24xx_ac97_ops; - -#endif
sound/soc/s3c24xx/s3c24xx_simtec.c +1 -1
@@ -21,7 +21,7 @@#include <plat/audio-simtec.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h"
sound/soc/s3c24xx/s3c24xx_simtec_hermes.c +1 -1
@@ -18,7 +18,7 @@#include <plat/audio-simtec.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h"
sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c +1 -1
@@ -18,7 +18,7 @@#include <plat/audio-simtec.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" #include "s3c24xx_simtec.h"
sound/soc/s3c24xx/s3c24xx_uda134x.c +1 -1
@@ -24,7 +24,7 @@#include <plat/regs-iis.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-i2s.h" #include "../codecs/uda134x.h"
sound/soc/s3c24xx/s3c64xx-i2s.c +1 -1
@@ -35,7 +35,7 @@#include <mach/map.h> #include <mach/dma.h> -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c64xx-i2s.h" static struct s3c2410_dma_client s3c64xx_dma_client_out = {
sound/soc/s3c24xx/smdk2443_wm9710.c +1 -1
@@ -20,7 +20,7 @@#include <sound/soc-dapm.h> #include "../codecs/ac97.h" -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c24xx-ac97.h" static struct snd_soc_card smdk2443;
sound/soc/s3c24xx/smdk64xx_wm8580.c +1 -1
@@ -19,7 +19,7 @@#include <sound/soc-dapm.h> #include "../codecs/wm8580.h" -#include "s3c24xx-pcm.h" +#include "s3c-audio.h" #include "s3c64xx-i2s.h" #define S3C64XX_I2S_V4 2
Signature · 1 line
1.6.2.5