Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316318
b: refs/heads/master
c: 601787c
h: refs/heads/master
v: v3
  • Loading branch information
Sylwester Nawrocki authored and Mark Brown committed Jul 15, 2012
1 parent c15052d commit dbd5c33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0eed8a18696af4e6cf0315f935a730521b54725e
refs/heads/master: 601787c232306e0bb84fff9fc7c2be5a5c7b87a0
10 changes: 3 additions & 7 deletions trunk/sound/soc/samsung/s3c2412-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <sound/soc.h>
#include <sound/pcm_params.h>

#include <mach/regs-gpio.h>
#include <mach/dma.h>

#include "dma.h"
Expand Down Expand Up @@ -83,12 +82,9 @@ static int s3c2412_i2s_probe(struct snd_soc_dai *dai)

s3c2412_i2s.iis_cclk = s3c2412_i2s.iis_pclk;

/* Configure the I2S pins in correct mode */
s3c2410_gpio_cfgpin(S3C2410_GPE0, S3C2410_GPE0_I2SLRCK);
s3c2410_gpio_cfgpin(S3C2410_GPE1, S3C2410_GPE1_I2SSCLK);
s3c2410_gpio_cfgpin(S3C2410_GPE2, S3C2410_GPE2_CDCLK);
s3c2410_gpio_cfgpin(S3C2410_GPE3, S3C2410_GPE3_I2SSDI);
s3c2410_gpio_cfgpin(S3C2410_GPE4, S3C2410_GPE4_I2SSDO);
/* Configure the I2S pins (GPE0...GPE4) in correct mode */
s3c_gpio_cfgall_range(S3C2410_GPE(0), 5, S3C_GPIO_SFN(2),
S3C_GPIO_PULL_NONE);

return 0;
}
Expand Down

0 comments on commit dbd5c33

Please sign in to comment.