summaryrefslogtreecommitdiff
path: root/sound/firewire/speakers.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-06-17 10:17:56 +0400
committerTakashi Iwai <tiwai@suse.de>2011-06-17 13:36:30 +0400
commitf4b1e98aa93d548e5d51c8c5272ea08562fc71c1 (patch)
treef75f81831cee3f33225f9bc408b10fc127221df6 /sound/firewire/speakers.c
parent030aba53ea361df2b44a292606c974ef48d438de (diff)
downloadlinux-f4b1e98aa93d548e5d51c8c5272ea08562fc71c1.tar.xz
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/firewire/speakers.c')
-rw-r--r--sound/firewire/speakers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/speakers.c b/sound/firewire/speakers.c
index 5466de8527bd..3fc257da180c 100644
--- a/sound/firewire/speakers.c
+++ b/sound/firewire/speakers.c
@@ -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;