From 176c15b7aabd796937ed14108be1c77c1c99181c Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 4 Mar 2015 10:19:56 -0800 Subject: [PATCH] fix queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch --- ...lsa-hdspm-constrain-periods-to-2-on-older-cards.patch | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch b/queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch index 3d9fd4025ab..34a65a282ae 100644 --- a/queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch +++ b/queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch @@ -25,13 +25,20 @@ Signed-off-by: Greg Kroah-Hartman --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c -@@ -5863,6 +5863,12 @@ static int snd_hdspm_capture_open(struct +@@ -5789,6 +5789,9 @@ static int snd_hdspm_playback_open(struc snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_PERIOD_SIZE, 64, 8192); + snd_pcm_hw_constraint_minmax(runtime, + SNDRV_PCM_HW_PARAM_PERIODS, + 2, 2); + break; + } + +@@ -5863,6 +5866,9 @@ static int snd_hdspm_capture_open(struct + snd_pcm_hw_constraint_minmax(runtime, + SNDRV_PCM_HW_PARAM_PERIOD_SIZE, + 64, 8192); + snd_pcm_hw_constraint_minmax(runtime, + SNDRV_PCM_HW_PARAM_PERIODS, + 2, 2); -- 2.47.3