From 539525e27d7c523efebf861516835becc1e30381 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 9 Mar 2012 01:19:15 +0200 Subject: [PATCH] --- yaml --- r: 293485 b: refs/heads/master c: 94a504c2e059fb88f05ede6d614504779275b099 h: refs/heads/master i: 293483: 4c3da9c3be320f7abfc192b94738f0c5f8a720f6 v: v3 --- [refs] | 2 +- trunk/sound/soc/omap/omap-mcbsp.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b3d8ed151030..f3a48f1a0d3f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5788c62e72b8484836ae6587c7fb65757a777a3a +refs/heads/master: 94a504c2e059fb88f05ede6d614504779275b099 diff --git a/trunk/sound/soc/omap/omap-mcbsp.c b/trunk/sound/soc/omap/omap-mcbsp.c index 626e2d6db20e..6912ac7cb625 100644 --- a/trunk/sound/soc/omap/omap-mcbsp.c +++ b/trunk/sound/soc/omap/omap-mcbsp.c @@ -142,10 +142,10 @@ static int omap_mcbsp_dai_startup(struct snd_pcm_substream *substream, * smaller buffer than the FIFO size to avoid underruns */ snd_pcm_hw_rule_add(substream->runtime, 0, - SNDRV_PCM_HW_PARAM_CHANNELS, + SNDRV_PCM_HW_PARAM_BUFFER_SIZE, omap_mcbsp_hwrule_min_buffersize, mcbsp, - SNDRV_PCM_HW_PARAM_BUFFER_SIZE, -1); + SNDRV_PCM_HW_PARAM_CHANNELS, -1); /* Make sure, that the period size is always even */ snd_pcm_hw_constraint_step(substream->runtime, 0,