aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/samsung/ac97.c6
-rw-r--r--sound/soc/samsung/dma.h6
-rw-r--r--sound/soc/samsung/i2s.c6
-rw-r--r--sound/soc/samsung/pcm.c5
-rw-r--r--sound/soc/samsung/s3c2412-i2s.c4
-rw-r--r--sound/soc/samsung/s3c24xx-i2s.c4
-rw-r--r--sound/soc/samsung/spdif.c3
7 files changed, 18 insertions, 16 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c
index 4a88e36c82ec..76b072bd4ba2 100644
--- a/sound/soc/samsung/ac97.c
+++ b/sound/soc/samsung/ac97.c
@@ -39,15 +39,15 @@ struct s3c_ac97_info {
39}; 39};
40static struct s3c_ac97_info s3c_ac97; 40static struct s3c_ac97_info s3c_ac97;
41 41
42static struct s3c2410_dma_client s3c_dma_client_out = { 42static struct s3c_dma_client s3c_dma_client_out = {
43 .name = "AC97 PCMOut" 43 .name = "AC97 PCMOut"
44}; 44};
45 45
46static struct s3c2410_dma_client s3c_dma_client_in = { 46static struct s3c_dma_client s3c_dma_client_in = {
47 .name = "AC97 PCMIn" 47 .name = "AC97 PCMIn"
48}; 48};
49 49
50static struct s3c2410_dma_client s3c_dma_client_micin = { 50static struct s3c_dma_client s3c_dma_client_micin = {
51 .name = "AC97 MicIn" 51 .name = "AC97 MicIn"
52}; 52};
53 53
diff --git a/sound/soc/samsung/dma.h b/sound/soc/samsung/dma.h
index 225e5378014e..ad7c0f04f00d 100644
--- a/sound/soc/samsung/dma.h
+++ b/sound/soc/samsung/dma.h
@@ -14,8 +14,12 @@
14 14
15#include <sound/dmaengine_pcm.h> 15#include <sound/dmaengine_pcm.h>
16 16
17struct s3c_dma_client {
18 char *name;
19};
20
17struct s3c_dma_params { 21struct s3c_dma_params {
18 struct s3c2410_dma_client *client; /* stream identifier */ 22 struct s3c_dma_client *client; /* stream identifier */
19 int channel; /* Channel ID */ 23 int channel; /* Channel ID */
20 dma_addr_t dma_addr; 24 dma_addr_t dma_addr;
21 int dma_size; /* Size of the DMA transfer */ 25 int dma_size; /* Size of the DMA transfer */
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 0a9b44c940ce..048ead967199 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -1211,10 +1211,10 @@ static int samsung_i2s_probe(struct platform_device *pdev)
1211 pri_dai->dma_playback.dma_addr = regs_base + I2STXD; 1211 pri_dai->dma_playback.dma_addr = regs_base + I2STXD;
1212 pri_dai->dma_capture.dma_addr = regs_base + I2SRXD; 1212 pri_dai->dma_capture.dma_addr = regs_base + I2SRXD;
1213 pri_dai->dma_playback.client = 1213 pri_dai->dma_playback.client =
1214 (struct s3c2410_dma_client *)&pri_dai->dma_playback; 1214 (struct s3c_dma_client *)&pri_dai->dma_playback;
1215 pri_dai->dma_playback.ch_name = "tx"; 1215 pri_dai->dma_playback.ch_name = "tx";
1216 pri_dai->dma_capture.client = 1216 pri_dai->dma_capture.client =
1217 (struct s3c2410_dma_client *)&pri_dai->dma_capture; 1217 (struct s3c_dma_client *)&pri_dai->dma_capture;
1218 pri_dai->dma_capture.ch_name = "rx"; 1218 pri_dai->dma_capture.ch_name = "rx";
1219 pri_dai->dma_playback.dma_size = 4; 1219 pri_dai->dma_playback.dma_size = 4;
1220 pri_dai->dma_capture.dma_size = 4; 1220 pri_dai->dma_capture.dma_size = 4;
@@ -1233,7 +1233,7 @@ static int samsung_i2s_probe(struct platform_device *pdev)
1233 } 1233 }
1234 sec_dai->dma_playback.dma_addr = regs_base + I2STXDS; 1234 sec_dai->dma_playback.dma_addr = regs_base + I2STXDS;
1235 sec_dai->dma_playback.client = 1235 sec_dai->dma_playback.client =
1236 (struct s3c2410_dma_client *)&sec_dai->dma_playback; 1236 (struct s3c_dma_client *)&sec_dai->dma_playback;
1237 sec_dai->dma_playback.ch_name = "tx-sec"; 1237 sec_dai->dma_playback.ch_name = "tx-sec";
1238 1238
1239 if (!np) { 1239 if (!np) {
diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
index 6a5e4bf6ac96..ab54e297957c 100644
--- a/sound/soc/samsung/pcm.c
+++ b/sound/soc/samsung/pcm.c
@@ -20,7 +20,6 @@
20#include <sound/pcm_params.h> 20#include <sound/pcm_params.h>
21 21
22#include <linux/platform_data/asoc-s3c.h> 22#include <linux/platform_data/asoc-s3c.h>
23#include <mach/dma.h>
24 23
25#include "dma.h" 24#include "dma.h"
26#include "pcm.h" 25#include "pcm.h"
@@ -132,11 +131,11 @@ struct s3c_pcm_info {
132 struct s3c_dma_params *dma_capture; 131 struct s3c_dma_params *dma_capture;
133}; 132};
134 133
135static struct s3c2410_dma_client s3c_pcm_dma_client_out = { 134static struct s3c_dma_client s3c_pcm_dma_client_out = {
136 .name = "PCM Stereo out" 135 .name = "PCM Stereo out"
137}; 136};
138 137
139static struct s3c2410_dma_client s3c_pcm_dma_client_in = { 138static struct s3c_dma_client s3c_pcm_dma_client_in = {
140 .name = "PCM Stereo in" 139 .name = "PCM Stereo in"
141}; 140};
142 141
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c
index d0794458963a..e9bb5d7a71ee 100644
--- a/sound/soc/samsung/s3c2412-i2s.c
+++ b/sound/soc/samsung/s3c2412-i2s.c
@@ -33,11 +33,11 @@
33#include "regs-i2s-v2.h" 33#include "regs-i2s-v2.h"
34#include "s3c2412-i2s.h" 34#include "s3c2412-i2s.h"
35 35
36static struct s3c2410_dma_client s3c2412_dma_client_out = { 36static struct s3c_dma_client s3c2412_dma_client_out = {
37 .name = "I2S PCM Stereo out" 37 .name = "I2S PCM Stereo out"
38}; 38};
39 39
40static struct s3c2410_dma_client s3c2412_dma_client_in = { 40static struct s3c_dma_client s3c2412_dma_client_in = {
41 .name = "I2S PCM Stereo in" 41 .name = "I2S PCM Stereo in"
42}; 42};
43 43
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c
index f31e916dd8c4..d7b8457b5650 100644
--- a/sound/soc/samsung/s3c24xx-i2s.c
+++ b/sound/soc/samsung/s3c24xx-i2s.c
@@ -31,11 +31,11 @@
31#include "dma.h" 31#include "dma.h"
32#include "s3c24xx-i2s.h" 32#include "s3c24xx-i2s.h"
33 33
34static struct s3c2410_dma_client s3c24xx_dma_client_out = { 34static struct s3c_dma_client s3c24xx_dma_client_out = {
35 .name = "I2S PCM Stereo out" 35 .name = "I2S PCM Stereo out"
36}; 36};
37 37
38static struct s3c2410_dma_client s3c24xx_dma_client_in = { 38static struct s3c_dma_client s3c24xx_dma_client_in = {
39 .name = "I2S PCM Stereo in" 39 .name = "I2S PCM Stereo in"
40}; 40};
41 41
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c
index 28487dcc4538..cfe63b7bcc9f 100644
--- a/sound/soc/samsung/spdif.c
+++ b/sound/soc/samsung/spdif.c
@@ -18,7 +18,6 @@
18#include <sound/pcm_params.h> 18#include <sound/pcm_params.h>
19 19
20#include <linux/platform_data/asoc-s3c.h> 20#include <linux/platform_data/asoc-s3c.h>
21#include <mach/dma.h>
22 21
23#include "dma.h" 22#include "dma.h"
24#include "spdif.h" 23#include "spdif.h"
@@ -94,7 +93,7 @@ struct samsung_spdif_info {
94 struct s3c_dma_params *dma_playback; 93 struct s3c_dma_params *dma_playback;
95}; 94};
96 95
97static struct s3c2410_dma_client spdif_dma_client_out = { 96static struct s3c_dma_client spdif_dma_client_out = {
98 .name = "S/PDIF Stereo out", 97 .name = "S/PDIF Stereo out",
99}; 98};
100 99