diff options
author | Devin Heitmueller <dheitmueller@linuxtv.org> | 2009-03-22 23:42:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 12:43:32 -0300 |
commit | fadadb7d7ad1d6c09863fcf24f83e59f596201ed (patch) | |
tree | 6a828ab8d9309fa23d5eb1b7aabf181072a3b3e5 /drivers/media/video/au0828/au0828-video.c | |
parent | 9a4f8201a5d241dd725c1e1c796d826e49dcd396 (diff) | |
download | op-kernel-dev-fadadb7d7ad1d6c09863fcf24f83e59f596201ed.zip op-kernel-dev-fadadb7d7ad1d6c09863fcf24f83e59f596201ed.tar.gz |
V4L/DVB (11142): au0828: fix oops on ARM platform when allocating transfer buffers
Add missing URB_NO_TRANSFER_DMA_MAP flag, since the use of consistent memory
is not permitted for DMA on the ARM platform.
Thanks to Paul Thomas <pthomas8589@gmail.com> for providing sample ARM
hardware that was experiencing the oops (tested on the at91rm9200 based
LinuxStamp).
Thanks to David Brownell <david-b@pacbell.net> for providing insight into the
ARM memory architecture.
Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-video.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828-video.c b/drivers/media/video/au0828/au0828-video.c index d3a388a..f7ad495 100644 --- a/drivers/media/video/au0828/au0828-video.c +++ b/drivers/media/video/au0828/au0828-video.c @@ -267,7 +267,7 @@ int au0828_init_isoc(struct au0828_dev *dev, int max_packets, au0828_irq_callback, dma_q, 1); urb->number_of_packets = max_packets; - urb->transfer_flags = URB_ISO_ASAP; + urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP; k = 0; for (j = 0; j < max_packets; j++) { |