ASoC: S3C: Fix PCM TXFIFO_DIPSTICK value
authorSeungwhan Youn <sw.youn@samsung.com>
Fri, 10 Sep 2010 08:20:45 +0000 (17:20 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 11 Sep 2010 11:12:43 +0000 (12:12 +0100)
This patch modify FIFO_DIPSTICK value of PCM TX FIFO to be a optimal one.
Privious value (0x20) did not support 'Almost_full' of PCM FIFO for the DMA
request.

Signed-off-by: Seungwhan Youn <sw.youn@samsung.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/s3c24xx/s3c-pcm.c

index eadd1bebfe83cf99ffbaf0d5b415476db8caaab8..4f73275f4db6cad8f17a79eee54740f81a5a5006 100644 (file)
@@ -78,7 +78,7 @@ static void s3c_pcm_snd_txctrl(struct s3c_pcm_info *pcm, int on)
                ctl |= S3C_PCM_CTL_TXDMA_EN;
                ctl |= S3C_PCM_CTL_TXFIFO_EN;
                ctl |= S3C_PCM_CTL_ENABLE;
-               ctl |= (0x20<<S3C_PCM_CTL_TXDIPSTICK_SHIFT);
+               ctl |= (0x4<<S3C_PCM_CTL_TXDIPSTICK_SHIFT);
                clkctl |= S3C_PCM_CLKCTL_SERCLK_EN;
        } else {
                ctl &= ~S3C_PCM_CTL_TXDMA_EN;