Title: [5273] branches/2008R1/sound/blackfin/ad1836.c: bug[4393]fix setting exact period_size for 5.1 surround
Revision
5273
Author
cliff
Date
2008-09-09 22:24:40 -0500 (Tue, 09 Sep 2008)

Log Message

bug[4393]fix setting exact period_size for 5.1 surround

Modified Paths

Diff

Modified: branches/2008R1/sound/blackfin/ad1836.c (5272 => 5273)


--- branches/2008R1/sound/blackfin/ad1836.c	2008-09-10 03:22:59 UTC (rev 5272)
+++ branches/2008R1/sound/blackfin/ad1836.c	2008-09-10 03:24:40 UTC (rev 5273)
@@ -269,7 +269,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 +867,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 +891,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