aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2010-09-03 06:57:19 -0300
committerMauro Carvalho Chehab <[email protected]>2010-09-27 22:21:51 -0300
commit882787ff8fdeb0be790547ee9b22b281095e95da (patch)
tree52006253aed2ce45148719cce487a22dce878665 /scripts/patch-kernel
parent29d834912bbcf0d095e6cd0e95b0d9790fdf7957 (diff)
V4L/DVB: gspca - main: Fix a crash of some webcams on ARM arch
When plugging some webcams on ARM, the system crashes. This is because we alloc buffer for an urb through usb_buffer_alloc, the alloced buffer is already in DMA coherent region, so we should set the flag of this urb to URB_NO_TRANSFER_DMA_MAP, otherwise when we submit this urb, the hcd core will handle this address as an non-DMA address and call dma_map_single/sg to map it. On arm architecture, dma_map_single a DMA coherent address will be catched by a BUG_ON(). Signed-off-by: Jason Wang <[email protected]> Signed-off-by: Jean-François Moine <[email protected]> Cc: [email protected] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions