diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/oxygen/oxygen_pcm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen_pcm.c b/sound/pci/oxygen/oxygen_pcm.c index 09a16e459de9..c4ad65a3406f 100644 --- a/sound/pci/oxygen/oxygen_pcm.c +++ b/sound/pci/oxygen/oxygen_pcm.c | |||
@@ -165,6 +165,12 @@ static int oxygen_open(struct snd_pcm_substream *substream, | |||
165 | if (err < 0) | 165 | if (err < 0) |
166 | return err; | 166 | return err; |
167 | } | 167 | } |
168 | if (channel == PCM_MULTICH) { | ||
169 | err = snd_pcm_hw_constraint_minmax | ||
170 | (runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME, 0, 8192000); | ||
171 | if (err < 0) | ||
172 | return err; | ||
173 | } | ||
168 | snd_pcm_set_sync(substream); | 174 | snd_pcm_set_sync(substream); |
169 | chip->streams[channel] = substream; | 175 | chip->streams[channel] = substream; |
170 | 176 | ||