aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorLakkyung Jung <lakkyung.jung@samsung.com>2010-10-06 21:57:15 -0700
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:49:31 -0800
commitb9744f709b54ba93a05e062c65859394ccdbe619 (patch)
tree0722e3f418731ab844449fdad3ab4fe8b21e1c6e /sound/soc/samsung
parent67d88f02cccad0bde571c192799a32794ae72236 (diff)
downloadkernel_samsung_crespo-b9744f709b54ba93a05e062c65859394ccdbe619.zip
kernel_samsung_crespo-b9744f709b54ba93a05e062c65859394ccdbe619.tar.gz
kernel_samsung_crespo-b9744f709b54ba93a05e062c65859394ccdbe619.tar.bz2
S5PC11X: SOUND: Changed limitation of period size in pcm driver.
Change-Id: Ib84e97698656150394002ad2e0db0d29457b3fff Signed-off-by: Lakkyung Jung <lakkyung.jung@samsung.com>
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r--sound/soc/samsung/dma.c6
-rw-r--r--sound/soc/samsung/s3c-dma.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c
index 2a32f6a..552bf43 100644
--- a/sound/soc/samsung/dma.c
+++ b/sound/soc/samsung/dma.c
@@ -42,9 +42,9 @@ static const struct snd_pcm_hardware dma_hardware = {
SNDRV_PCM_FMTBIT_S8,
.channels_min = 2,
.channels_max = 2,
- .buffer_bytes_max = 128*1024,
- .period_bytes_min = PAGE_SIZE,
- .period_bytes_max = PAGE_SIZE*2,
+ .buffer_bytes_max = 128 * 1024,
+ .period_bytes_min = 128,
+ .period_bytes_max = 32 * 1024,
.periods_min = 2,
.periods_max = 128,
.fifo_size = 32,
diff --git a/sound/soc/samsung/s3c-dma.c b/sound/soc/samsung/s3c-dma.c
index 0404465..765cea1 100644
--- a/sound/soc/samsung/s3c-dma.c
+++ b/sound/soc/samsung/s3c-dma.c
@@ -45,9 +45,9 @@ static const struct snd_pcm_hardware s3c_dma_hardware = {
SNDRV_PCM_FMTBIT_S8,
.channels_min = 2,
.channels_max = 2,
- .buffer_bytes_max = 128*1024,
- .period_bytes_min = PAGE_SIZE,
- .period_bytes_max = PAGE_SIZE*2,
+ .buffer_bytes_max = 128 * 1024,
+ .period_bytes_min = 128,
+ .period_bytes_max = 32 * 1024,
.periods_min = 2,
.periods_max = 128,
.fifo_size = 32,