summaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx/s3c-pcm.h
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2010-09-10 17:20:00 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-11 12:12:20 +0100
commit0cca9012527b77df1491f1b8422c7aae16e17ae0 (patch)
tree24bfa617495e3bee4da3a81fe696532b4566f285 /sound/soc/s3c24xx/s3c-pcm.h
parent6946e037ee9e94a560a931fdb2e3e66964216cfe (diff)
ASoC: S3C: Fix PCM RX FIFO settings
When PCM capture, sound recorded abnormally because of RX FIFO threshold settings are missing. So, This patch modify PCM RX FIFO setting codes same as TX. And for DMA, if PCM RXFIFO_DIPSTICK is not '0', it doesn't effect to DMA request, because DMA refer RX_FIFO_EMPTY flag as 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>
Diffstat (limited to 'sound/soc/s3c24xx/s3c-pcm.h')
-rw-r--r--sound/soc/s3c24xx/s3c-pcm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/s3c24xx/s3c-pcm.h b/sound/soc/s3c24xx/s3c-pcm.h
index 69ff9971692..f60baa19387 100644
--- a/sound/soc/s3c24xx/s3c-pcm.h
+++ b/sound/soc/s3c24xx/s3c-pcm.h
@@ -22,7 +22,8 @@
/* PCM_CTL Bit-Fields */
#define S3C_PCM_CTL_TXDIPSTICK_MASK (0x3f)
#define S3C_PCM_CTL_TXDIPSTICK_SHIFT (13)
-#define S3C_PCM_CTL_RXDIPSTICK_MSK (0x3f<<7)
+#define S3C_PCM_CTL_RXDIPSTICK_MASK (0x3f)
+#define S3C_PCM_CTL_RXDIPSTICK_SHIFT (7)
#define S3C_PCM_CTL_TXDMA_EN (0x1<<6)
#define S3C_PCM_CTL_RXDMA_EN (0x1<<5)
#define S3C_PCM_CTL_TXMSB_AFTER_FSYNC (0x1<<4)