V4L/DVB (11140): usbvision: fix oops on ARM platform when allocating transfer buffers
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Mon, 23 Mar 2009 02:39:12 +0000 (23:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:31 +0000 (12:43 -0300)
commitf876897015e15e879ad531f78260086a7fdee813
tree79503cefb50521d5c4f8179014593f039bc62c44
parent62cfc346a325f60256f5eda93ac3b6e7ba6cdc1b
V4L/DVB (11140): usbvision: 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>
drivers/media/video/usbvision/usbvision-core.c