Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 435a9be8 authored by Clemens Ladisch's avatar Clemens Ladisch
Browse files

ALSA: dice: remove 10s period length limit



Since commit f2b3614c (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: default avatarClemens Ladisch <clemens@ladisch.de>
parent eadce07f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;