Title: [4204] branches/2008R1/sound/blackfin/ad1836.c: bug[#3811]
use fixed period number to avoid memory address misaligned
- Revision
- 4204
- Author
- cliff
- Date
- 2008-02-01 00:18:34 -0600 (Fri, 01 Feb 2008)
Log Message
bug[#3811] use fixed period number to avoid memory address misaligned
Diffstat
ad1836.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified Paths
Diff
Modified: branches/2008R1/sound/blackfin/ad1836.c (4203 => 4204)
--- branches/2008R1/sound/blackfin/ad1836.c 2008-02-01 06:17:17 UTC (rev 4203)
+++ branches/2008R1/sound/blackfin/ad1836.c 2008-02-01 06:18:34 UTC (rev 4204)
@@ -890,8 +890,8 @@
.buffer_bytes_max = PCM_BUFFER_MAX,
.period_bytes_min = FRAGMENT_SIZE_MIN,
.period_bytes_max = PCM_BUFFER_MAX/2,
- .periods_min = FRAGMENTS_MIN,
- .periods_max = FRAGMENTS_MAX,
+ .periods_min = 8,
+ .periods_max = 8,
};
static int snd_ad1836_playback_open(struct snd_pcm_substream *substream)
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits