ALSA: firewire-speakers, oxygen, ua101: allow > 10 s periods

Since commit f2b3614cef (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>
This commit is contained in:
Clemens Ladisch
2011-06-17 08:17:56 +02:00
committed by Takashi Iwai
parent 030aba53ea
commit f4b1e98aa9
3 changed files with 2 additions and 8 deletions

View File

@@ -171,7 +171,7 @@ static int fwspk_open(struct snd_pcm_substream *substream)
err = snd_pcm_hw_constraint_minmax(runtime,
SNDRV_PCM_HW_PARAM_PERIOD_TIME,
5000, 8192000);
5000, UINT_MAX);
if (err < 0)
return err;