]> Pileus Git - ~andy/linux/commitdiff
ALSA: dice: remove 10s period length limit
authorClemens Ladisch <clemens@ladisch.de>
Sun, 4 Sep 2011 20:17:51 +0000 (22:17 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Oct 2013 20:07:57 +0000 (22:07 +0200)
Since commit f2b3614cefb6 (Don't check DMA time-out too shortly), we
need no longer to restrict the period length to less than 10 s.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/firewire/dice.c

index cfa98a83acb2aa6ef717d4a047983fb8c2c4268d..57ceb13f281514fc3acb9dddbfcd313b56d7eb56 100644 (file)
@@ -350,7 +350,7 @@ static int dice_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)
                goto err_lock;