summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-22 22:42:26 -0400
committerDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-22 22:42:26 -0400
commit67db6dc70c25afa359db09bf6ca885caebfb5a62 (patch)
tree99dacc26ffea01113164b9bd9b70c39dc84ae420 /linux/drivers/media/video/au0828
parent81fd7559efe367f3a8ce4f4e2ff0b90d6688b724 (diff)
downloadmediapointer-dvb-s2-67db6dc70c25afa359db09bf6ca885caebfb5a62.tar.gz
mediapointer-dvb-s2-67db6dc70c25afa359db09bf6ca885caebfb5a62.tar.bz2
au0828: fix oops on ARM platform when allocating transfer buffers
From: Devin Heitmueller <dheitmueller@linuxtv.org> 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. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/au0828')
-rw-r--r--linux/drivers/media/video/au0828/au0828-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-video.c b/linux/drivers/media/video/au0828/au0828-video.c
index fc76b2e20..5eac5cde5 100644
--- a/linux/drivers/media/video/au0828/au0828-video.c
+++ b/linux/drivers/media/video/au0828/au0828-video.c
@@ -273,7 +273,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++) {