From b9744f709b54ba93a05e062c65859394ccdbe619 Mon Sep 17 00:00:00 2001 From: Lakkyung Jung Date: Wed, 6 Oct 2010 21:57:15 -0700 Subject: S5PC11X: SOUND: Changed limitation of period size in pcm driver. Change-Id: Ib84e97698656150394002ad2e0db0d29457b3fff Signed-off-by: Lakkyung Jung --- sound/soc/samsung/dma.c | 6 +++--- sound/soc/samsung/s3c-dma.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sound/soc/samsung') 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, -- cgit v1.1