diff options
Diffstat (limited to 'sound/soc/samsung/s3c2412-i2s.c')
-rw-r--r-- | sound/soc/samsung/s3c2412-i2s.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 79fbeea99d46..ac7701b3c5dc 100644 --- a/sound/soc/samsung/s3c2412-i2s.c +++ b/sound/soc/samsung/s3c2412-i2s.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |
26 | #include <sound/pcm_params.h> | 26 | #include <sound/pcm_params.h> |
27 | 27 | ||
28 | #include <mach/regs-gpio.h> | ||
29 | #include <mach/dma.h> | 28 | #include <mach/dma.h> |
30 | 29 | ||
31 | #include "dma.h" | 30 | #include "dma.h" |
@@ -83,12 +82,9 @@ static int s3c2412_i2s_probe(struct snd_soc_dai *dai) | |||
83 | 82 | ||
84 | s3c2412_i2s.iis_cclk = s3c2412_i2s.iis_pclk; | 83 | s3c2412_i2s.iis_cclk = s3c2412_i2s.iis_pclk; |
85 | 84 | ||
86 | /* Configure the I2S pins in correct mode */ | 85 | /* Configure the I2S pins (GPE0...GPE4) in correct mode */ |
87 | s3c2410_gpio_cfgpin(S3C2410_GPE0, S3C2410_GPE0_I2SLRCK); | 86 | s3c_gpio_cfgall_range(S3C2410_GPE(0), 5, S3C_GPIO_SFN(2), |
88 | s3c2410_gpio_cfgpin(S3C2410_GPE1, S3C2410_GPE1_I2SSCLK); | 87 | S3C_GPIO_PULL_NONE); |
89 | s3c2410_gpio_cfgpin(S3C2410_GPE2, S3C2410_GPE2_CDCLK); | ||
90 | s3c2410_gpio_cfgpin(S3C2410_GPE3, S3C2410_GPE3_I2SSDI); | ||
91 | s3c2410_gpio_cfgpin(S3C2410_GPE4, S3C2410_GPE4_I2SSDO); | ||
92 | 88 | ||
93 | return 0; | 89 | return 0; |
94 | } | 90 | } |