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>
此提交包含在:
Clemens Ladisch
2011-06-17 08:17:56 +02:00
提交者 Takashi Iwai
父節點 030aba53ea
當前提交 f4b1e98aa9
共有 3 個檔案被更改,包括 2 行新增8 行删除

查看文件

@@ -168,12 +168,6 @@ static int oxygen_open(struct snd_pcm_substream *substream,
if (err < 0)
return err;
}
if (channel == PCM_MULTICH) {
err = snd_pcm_hw_constraint_minmax
(runtime, SNDRV_PCM_HW_PARAM_PERIOD_TIME, 0, 8192000);
if (err < 0)
return err;
}
snd_pcm_set_sync(substream);
chip->streams[channel] = substream;