aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-08-15 04:40:59 -0400
committerTakashi Iwai <tiwai@suse.de>2011-08-15 07:36:18 -0400
commit52e6fb48121a552d11ea0eb05540178fb3ac4e15 (patch)
tree15250a6ca38cbcd4fba8fc1eba56970363cf7d28 /sound/pci
parentdc3fcd1655bf1ba01843c557d6646500b0759173 (diff)
ALSA: hdspm - Correct max buffer size limit
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>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/rme9652/hdspm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 92ac64ced29a..c33f4a5c5241 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -5737,7 +5737,7 @@ static struct snd_pcm_hardware snd_hdspm_playback_subinfo = {
5737 .buffer_bytes_max = 5737 .buffer_bytes_max =
5738 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS, 5738 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
5739 .period_bytes_min = (32 * 4), 5739 .period_bytes_min = (32 * 4),
5740 .period_bytes_max = (4096 * 4) * HDSPM_MAX_CHANNELS, 5740 .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
5741 .periods_min = 2, 5741 .periods_min = 2,
5742 .periods_max = 512, 5742 .periods_max = 512,
5743 .fifo_size = 0 5743 .fifo_size = 0
@@ -5762,7 +5762,7 @@ static struct snd_pcm_hardware snd_hdspm_capture_subinfo = {
5762 .buffer_bytes_max = 5762 .buffer_bytes_max =
5763 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS, 5763 HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
5764 .period_bytes_min = (32 * 4), 5764 .period_bytes_min = (32 * 4),
5765 .period_bytes_max = (4096 * 4) * HDSPM_MAX_CHANNELS, 5765 .period_bytes_max = (8192 * 4) * HDSPM_MAX_CHANNELS,
5766 .periods_min = 2, 5766 .periods_min = 2,
5767 .periods_max = 512, 5767 .periods_max = 512,
5768 .fifo_size = 0 5768 .fifo_size = 0