diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-06-17 02:17:56 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-17 05:36:30 -0400 |
commit | f4b1e98aa93d548e5d51c8c5272ea08562fc71c1 (patch) | |
tree | f75f81831cee3f33225f9bc408b10fc127221df6 /sound/pci/oxygen | |
parent | 030aba53ea361df2b44a292606c974ef48d438de (diff) |
ALSA: firewire-speakers, oxygen, ua101: allow > 10 s periods
Since commit f2b3614cefb6 (Don't check DMA time-out too shortly),
drivers need no longer restrict their PCM period length to be shorter
than 10 seconds.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen')
-rw-r--r-- | sound/pci/oxygen/oxygen_pcm.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/oxygen/oxygen_pcm.c b/sound/pci/oxygen/oxygen_pcm.c index d5533e34ece9..cc0bcd9f3350 100644 --- a/sound/pci/oxygen/oxygen_pcm.c +++ b/sound/pci/oxygen/oxygen_pcm.c | |||
@@ -168,12 +168,6 @@ static int oxygen_open(struct snd_pcm_substream *substream, | |||
168 | if (err < 0) | 168 | if (err < 0) |
169 | return err; | 169 | return err; |
170 | } | 170 | } |
171 | if (channel == PCM_MULTICH) { | ||
172 | err = snd_pcm_hw_constraint_minmax | ||
173 | (runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME, 0, 8192000); | ||
174 | if (err < 0) | ||
175 | return err; | ||
176 | } | ||
177 | snd_pcm_set_sync(substream); | 171 | snd_pcm_set_sync(substream); |
178 | chip->streams[channel] = substream; | 172 | chip->streams[channel] = substream; |
179 | 173 | ||