diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.c b/sound/soc/s3c24xx/s3c24xx-pcm.c index eecfa5eba06b..8a931964ce46 100644 --- a/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/sound/soc/s3c24xx/s3c24xx-pcm.c | |||
@@ -318,6 +318,7 @@ static int s3c24xx_pcm_open(struct snd_pcm_substream *substream) | |||
318 | 318 | ||
319 | pr_debug("Entered %s\n", __func__); | 319 | pr_debug("Entered %s\n", __func__); |
320 | 320 | ||
321 | snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS); | ||
321 | snd_soc_set_runtime_hwparams(substream, &s3c24xx_pcm_hardware); | 322 | snd_soc_set_runtime_hwparams(substream, &s3c24xx_pcm_hardware); |
322 | 323 | ||
323 | prtd = kzalloc(sizeof(struct s3c24xx_runtime_data), GFP_KERNEL); | 324 | prtd = kzalloc(sizeof(struct s3c24xx_runtime_data), GFP_KERNEL); |