From: Greg Kroah-Hartman Date: Wed, 4 Mar 2015 18:19:56 +0000 (-0800) Subject: fix queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch X-Git-Tag: v3.10.71~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=176c15b7aabd796937ed14108be1c77c1c99181c;p=thirdparty%2Fkernel%2Fstable-queue.git fix queue-3.10/alsa-hdspm-constrain-periods-to-2-on-older-cards.patch --- 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);