Title: [5270] trunk/sound/blackfin/ad1836.c: bug[4393]fix seeting exact period_size for 5.1 surround
Revision
5270
Author
cliff
Date
2008-09-09 22:16:46 -0500 (Tue, 09 Sep 2008)

Log Message

bug[4393]fix seeting exact period_size for 5.1 surround

Modified Paths

Diff

Modified: trunk/sound/blackfin/ad1836.c (5269 => 5270)


--- trunk/sound/blackfin/ad1836.c	2008-09-09 09:38:51 UTC (rev 5269)
+++ trunk/sound/blackfin/ad1836.c	2008-09-10 03:16:46 UTC (rev 5270)
@@ -139,7 +139,6 @@
 #include <asm/irq.h>
 #include <asm/delay.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/info.h>
 #include <sound/control.h>
@@ -269,7 +268,8 @@
 	SPDIF_OUT_LEFT | SPDIF_OUT_RIGHT};
 #endif
 
-static unsigned int in_chan_masks[] = {CAP_LINE, CAP_MIC|CAP_LINE, CAP_SPDIF};
+static unsigned int in_chan_masks[] = {CAP_LINE, CAP_MIC | CAP_LINE,\
+				       CAP_MIC | CAP_LINE | CAP_SPDIF};
 #endif
 
 #ifdef MULTI_SUBSTREAM
@@ -866,7 +866,7 @@
 	.buffer_bytes_max = PCM_BUFFER_MAX,
 	.period_bytes_min = 32,
 	.period_bytes_max = PCM_BUFFER_MAX/2,
-	.periods_min =      8,
+	.periods_min =      2,
 	.periods_max =      FRAGMENTS_MAX,
 };
 
@@ -890,7 +890,7 @@
 	.buffer_bytes_max = PCM_BUFFER_MAX,
 	.period_bytes_min = 32,
 	.period_bytes_max = PCM_BUFFER_MAX/2,
-	.periods_min =      8,
+	.periods_min =      2,
 	.periods_max =      FRAGMENTS_MAX,
 };
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to