summaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652
diff options
context:
space:
mode:
authorAdrian Knoth2011-08-15 00:22:51 +0200
committerTakashi Iwai2011-08-15 10:24:42 +0200
commit1b6fa108b33f4a3e3999563e830daff39d332f70 (patch)
tree9aac229214aa618880930f03fd93b4bd91211d3d /sound/pci/rme9652
parentALSA: hdspm - Allow for 8192 period size on RME MADI and AES cards (diff)
downloadkernel-qcow2-linux-1b6fa108b33f4a3e3999563e830daff39d332f70.tar.gz
kernel-qcow2-linux-1b6fa108b33f4a3e3999563e830daff39d332f70.tar.xz
kernel-qcow2-linux-1b6fa108b33f4a3e3999563e830daff39d332f70.zip
ALSA: hdspm - Set period_bytes_min to 32 * 4 for new RME cards
On newer RME cards like RayDAT and AIO, the lower bound is 32 samples per period in contrast to 64 samples as seen on older cards. We hence lower period_bytes_min to 32 * 4. Four bytes per sample. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652')
-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 204e1ced16a7..8dc2a894f6f7 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -5703,7 +5703,7 @@ static struct snd_pcm_hardware snd_hdspm_playback_subinfo = {
.channels_max = HDSPM_MAX_CHANNELS,
.buffer_bytes_max =
HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
- .period_bytes_min = (64 * 4),
+ .period_bytes_min = (32 * 4),
.period_bytes_max = (4096 * 4) * HDSPM_MAX_CHANNELS,
.periods_min = 2,
.periods_max = 512,
@@ -5728,7 +5728,7 @@ static struct snd_pcm_hardware snd_hdspm_capture_subinfo = {
.channels_max = HDSPM_MAX_CHANNELS,
.buffer_bytes_max =
HDSPM_CHANNEL_BUFFER_BYTES * HDSPM_MAX_CHANNELS,
- .period_bytes_min = (64 * 4),
+ .period_bytes_min = (32 * 4),
.period_bytes_max = (4096 * 4) * HDSPM_MAX_CHANNELS,
.periods_min = 2,
.periods_max = 512,