ALSA: hdspm - Correct max buffer size limit
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 Aug 2011 08:40:59 +0000 (10:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Aug 2011 11:36:18 +0000 (13:36 +0200)
Some modesl can support up to 8192 frames per period.

Tested-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c

index 92ac64ced29ae827657a1f91ab7240525d2e91c5..c33f4a5c52419fe5f560b5173e2de8fd1591148b 100644 (file)
@@ -5737,7 +5737,7 @@ static struct snd_pcm_hardware snd_hdspm_playback_subinfo = {
        .buffer_bytes_max =
            HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
        .period_bytes_min = (32 * 4),
-       .period_bytes_max = (4096 * 4) * HDSPM_MAX_CHANNELS,
+       .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
        .periods_min = 2,
        .periods_max = 512,
        .fifo_size = 0
@@ -5762,7 +5762,7 @@ static struct snd_pcm_hardware snd_hdspm_capture_subinfo = {
        .buffer_bytes_max =
            HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
        .period_bytes_min = (32 * 4),
-       .period_bytes_max = (4096 * 4) * HDSPM_MAX_CHANNELS,
+       .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
        .periods_min = 2,
        .periods_max = 512,
        .fifo_size = 0