aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/dev-audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/dev-audio.c')
-rw-r--r--arch/arm/mach-s5pv210/dev-audio.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-s5pv210/dev-audio.c b/arch/arm/mach-s5pv210/dev-audio.c
index 0a5480bbcbd5..addfb165c13d 100644
--- a/arch/arm/mach-s5pv210/dev-audio.c
+++ b/arch/arm/mach-s5pv210/dev-audio.c
@@ -20,11 +20,6 @@
20#include <mach/irqs.h> 20#include <mach/irqs.h>
21#include <mach/regs-audss.h> 21#include <mach/regs-audss.h>
22 22
23static const char *rclksrc[] = {
24 [0] = "busclk",
25 [1] = "i2sclk",
26};
27
28static int s5pv210_cfg_i2s(struct platform_device *pdev) 23static int s5pv210_cfg_i2s(struct platform_device *pdev)
29{ 24{
30 /* configure GPIO for i2s port */ 25 /* configure GPIO for i2s port */
@@ -52,7 +47,6 @@ static struct s3c_audio_pdata i2sv5_pdata = {
52 .i2s = { 47 .i2s = {
53 .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI 48 .quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI
54 | QUIRK_NEED_RSTCLR, 49 | QUIRK_NEED_RSTCLR,
55 .src_clk = rclksrc,
56 .idma_addr = S5PV210_AUDSS_INT_MEM, 50 .idma_addr = S5PV210_AUDSS_INT_MEM,
57 }, 51 },
58 }, 52 },
@@ -75,18 +69,8 @@ struct platform_device s5pv210_device_iis0 = {
75 }, 69 },
76}; 70};
77 71
78static const char *rclksrc_v3[] = {
79 [0] = "iis",
80 [1] = "audio-bus",
81};
82
83static struct s3c_audio_pdata i2sv3_pdata = { 72static struct s3c_audio_pdata i2sv3_pdata = {
84 .cfg_gpio = s5pv210_cfg_i2s, 73 .cfg_gpio = s5pv210_cfg_i2s,
85 .type = {
86 .i2s = {
87 .src_clk = rclksrc_v3,
88 },
89 },
90}; 74};
91 75
92static struct resource s5pv210_iis1_resource[] = { 76static struct resource s5pv210_iis1_resource[] = {