Title: [5257] trunk/sound/blackfin/ad1836.c: bug[4393]adjust period_bytes_min
Revision
5257
Author
cliff
Date
2008-09-08 05:15:57 -0500 (Mon, 08 Sep 2008)

Log Message

bug[4393]adjust period_bytes_min

Modified Paths

Diff

Modified: trunk/sound/blackfin/ad1836.c (5256 => 5257)


--- trunk/sound/blackfin/ad1836.c	2008-09-08 10:12:58 UTC (rev 5256)
+++ trunk/sound/blackfin/ad1836.c	2008-09-08 10:15:57 UTC (rev 5257)
@@ -864,7 +864,7 @@
 	.channels_max =     CHANNELS_MAX,
 #endif
 	.buffer_bytes_max = PCM_BUFFER_MAX,
-	.period_bytes_min = FRAGMENT_SIZE_MIN,
+	.period_bytes_min = 2 * FRAGMENT_SIZE_MIN,
 	.period_bytes_max = PCM_BUFFER_MAX/2,
 	.periods_min =      8,
 	.periods_max =      FRAGMENTS_MAX,
@@ -888,7 +888,7 @@
 	.channels_max =     CHANNELS_MAX,
 #endif
 	.buffer_bytes_max = PCM_BUFFER_MAX,
-	.period_bytes_min = FRAGMENT_SIZE_MIN,
+	.period_bytes_min = 2 * FRAGMENT_SIZE_MIN,
 	.period_bytes_max = PCM_BUFFER_MAX/2,
 	.periods_min =      8,
 	.periods_max =      FRAGMENTS_MAX,
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to