summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/omap/n810.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/omap/n810.c')
-rw-r--r--kernel/sound/soc/omap/n810.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sound/soc/omap/n810.c b/kernel/sound/soc/omap/n810.c
index dcb5336b5..190f868e7 100644
--- a/kernel/sound/soc/omap/n810.c
+++ b/kernel/sound/soc/omap/n810.c
@@ -99,8 +99,7 @@ static int n810_startup(struct snd_pcm_substream *substream)
struct snd_pcm_runtime *runtime = substream->runtime;
struct snd_soc_pcm_runtime *rtd = substream->private_data;
- snd_pcm_hw_constraint_minmax(runtime,
- SNDRV_PCM_HW_PARAM_CHANNELS, 2, 2);
+ snd_pcm_hw_constraint_single(runtime, SNDRV_PCM_HW_PARAM_CHANNELS, 2);
n810_ext_control(&rtd->card->dapm);
return clk_prepare_enable(sys_clkout2);