From 0b5eadbaa59ed236e24a5418920e124c1e57572e Mon Sep 17 00:00:00 2001 From: Shine Liu Date: Thu, 20 Aug 2009 23:02:23 +0800 Subject: [PATCH] --- yaml --- r: 157679 b: refs/heads/master c: f61c890ec631884c5b7cd8723cd8ae1917dca544 h: refs/heads/master i: 157677: 364d182b87fbeb643dfcc2ce32ab71b02d189469 157675: 0d0f4502c70db3dfc8cf8d67d856f45de13033aa 157671: 021dec732beb4d6da37484ff9968a8570950cafb 157663: 5fc1d4690e7707665158285bd175da7df6859bc4 v: v3 --- [refs] | 2 +- trunk/sound/soc/s3c24xx/s3c24xx-pcm.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 39ba4cf25dd8..24b48262f838 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f8bae4caaaf56c391f3e2380dd7105e765414178 +refs/heads/master: f61c890ec631884c5b7cd8723cd8ae1917dca544 diff --git a/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c b/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c index eecfa5eba06b..8a931964ce46 100644 --- a/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c @@ -318,6 +318,7 @@ static int s3c24xx_pcm_open(struct snd_pcm_substream *substream) pr_debug("Entered %s\n", __func__); + snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); snd_soc_set_runtime_hwparams(substream, &s3c24xx_pcm_hardware); prtd = kzalloc(sizeof(struct s3c24xx_runtime_data), GFP_KERNEL);