projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2ec0d
)
[ALSA] Make s3c24xx_i2s_set_clkdiv() change the correct bits
author
Matt Reimer
<
[email protected]
>
Thu, 12 Jul 2007 10:27:24 +0000
(12:27 +0200)
committer
Jaroslav Kysela
<
[email protected]
>
Fri, 20 Jul 2007 09:11:51 +0000
(11:11 +0200)
Make s3c24xx_i2s_set_clkdiv() change the correct bits.
Signed-off-by: Matt Reimer <
[email protected]
>
Signed-off-by: Takashi Iwai <
[email protected]
>
Signed-off-by: Jaroslav Kysela <
[email protected]
>
sound/soc/s3c24xx/s3c24xx-i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/s3c24xx/s3c24xx-i2s.c
b/sound/soc/s3c24xx/s3c24xx-i2s.c
index 8ca314dc8891c04ebca6323dafb4709d4b7c8203..39f02462e07d8797671869b482a7ad654e9c40f8 100644
(file)
--- a/
sound/soc/s3c24xx/s3c24xx-i2s.c
+++ b/
sound/soc/s3c24xx/s3c24xx-i2s.c
@@
-344,11
+344,11
@@
static int s3c24xx_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai,
DBG("Entered %s\n", __FUNCTION__);
switch (div_id) {
- case S3C24XX_DIV_
M
CLK:
+ case S3C24XX_DIV_
B
CLK:
reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK;
writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
break;
- case S3C24XX_DIV_
B
CLK:
+ case S3C24XX_DIV_
M
CLK:
reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS);
writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
break;