diff mbox

PATCH to hdpvr-video.c solves DMA allocation problems on arm processsors.

Message ID AANLkTim=Gy=hdePJBiA0M_+nvR9Netc2KXPdJCK8ZZi4@mail.gmail.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

James MacLaren Sept. 3, 2010, 4:19 p.m. UTC
None
diff mbox

Patch

diff -Naur hdpvr-video.c hdpvr-video-jmm.c

--- hdpvr-video.c       2010-08-29 09:28:57.126133063 -0500
+++ hdpvr-video-jmm.c   2010-09-03 08:41:37.854129338 -0500
@@ -157,6 +157,7 @@ 

                                  mem, dev->bulk_in_size,
                                  hdpvr_read_bulk_callback, buf);

+                buf->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
// added JMM
                buf->status = BUFSTAT_AVAILABLE;