Make s3c24xx_i2s_set_clkdiv() change the correct bits
PATCH 1/1 Make s3c24xx_i2s_set_clkdiv() change the correct bits
Make s3c24xx_i2s_set_clkdiv() change the correct bits.
Signed-off-by Matt Reimer <[email protected]>
--- sound/soc/s3c24xx/s3c24xx-i2s.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/s3c24xx/s3c24xx-i2s.c +2 -2
@@ -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_MCLK : +case S3C24XX_DIV_BCLK : reg =readl (s3c24xx_i2s.regs +S3C2410_IISMOD ) & ~S3C2410_IISMOD_FS_MASK ;writel (reg | div, s3c24xx_i2s.regs +S3C2410_IISMOD );break ; -case S3C24XX_DIV_BCLK : +case S3C24XX_DIV_MCLK : reg =readl (s3c24xx_i2s.regs +S3C2410_IISMOD ) & ~(S3C2410_IISMOD_384FS );writel (reg | div, s3c24xx_i2s.regs +S3C2410_IISMOD );break ;
Signature · 1 line
1.5.1.4
Takashi Iwai
AppliedAt Wed, 11 Jul 2007 17:03:50 -0700,
Quoted 4 lines · Matt Reimer
Make
s3c24xx_i2s_set_clkdiv()change the correct bits.Signed-off-by Matt Reimer <[email protected]>
Applied to ALSA tree. Thanks.
Takashi