summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSophie Hamilton <kernel@theblob.org>2009-09-08 10:58:42 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-24 08:27:14 -0700
commit6d2bc6a9e03037619b34e1c1becff75e9c175bc6 (patch)
treef4e352a5888efbb99eea919e56fef3c6e09beb13
parent5bed4ac47c46cb9425ec1afb090ea3fed2017cbc (diff)
downloadlinux-stable-6d2bc6a9e03037619b34e1c1becff75e9c175bc6.tar.gz
linux-stable-6d2bc6a9e03037619b34e1c1becff75e9c175bc6.tar.bz2
linux-stable-6d2bc6a9e03037619b34e1c1becff75e9c175bc6.zip
ALSA: cs46xx - Fix minimum period size
commit 6148b130eb84edc76e4fa88da1877b27be6c2f06 upstream. Fix minimum period size for cs46xx cards. This fixes a problem in the case where neither a period size nor a buffer size is passed to ALSA; this is the case in Audacious, OpenAL, and others. Signed-off-by: Sophie Hamilton <kernel@theblob.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--sound/pci/cs46xx/cs46xx_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.h b/sound/pci/cs46xx/cs46xx_lib.h
index 4eb55aa33612..b5189495d58a 100644
--- a/sound/pci/cs46xx/cs46xx_lib.h
+++ b/sound/pci/cs46xx/cs46xx_lib.h
@@ -35,7 +35,7 @@
#ifdef CONFIG_SND_CS46XX_NEW_DSP
-#define CS46XX_MIN_PERIOD_SIZE 1
+#define CS46XX_MIN_PERIOD_SIZE 64
#define CS46XX_MAX_PERIOD_SIZE 1024*1024
#else
#define CS46XX_MIN_PERIOD_SIZE 2048