From e5b8089a9e0618055b69fd537f667d44db8bed02 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Tue, 13 May 2008 09:26:01 +0200 Subject: [PATCH] --- yaml --- r: 99033 b: refs/heads/master c: ca1f30ad6c3f002d1d9b9355a53b8bbf2fe70588 h: refs/heads/master i: 99031: ba3b692299344db298cc644387976e2616a96e74 v: v3 --- [refs] | 2 +- trunk/sound/pci/oxygen/oxygen_pcm.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 96ec469fdab1..36fb77169b8a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d55d7a1cbbd069f8368ec5c67480d319e7b227b9 +refs/heads/master: ca1f30ad6c3f002d1d9b9355a53b8bbf2fe70588 diff --git a/trunk/sound/pci/oxygen/oxygen_pcm.c b/trunk/sound/pci/oxygen/oxygen_pcm.c index 09a16e459de9..c4ad65a3406f 100644 --- a/trunk/sound/pci/oxygen/oxygen_pcm.c +++ b/trunk/sound/pci/oxygen/oxygen_pcm.c @@ -165,6 +165,12 @@ static int oxygen_open(struct snd_pcm_substream *substream, if (err < 0) return err; } + if (channel == PCM_MULTICH) { + err = snd_pcm_hw_constraint_minmax + (runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME, 0, 8192000); + if (err < 0) + return err; + } snd_pcm_set_sync(substream); chip->streams[channel] = substream;