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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I needed to patch hdpvr-video.c to capture on my dockstar arm
processor.  I see that this patch has been noted on a number of other
usb drivers on this list.

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;
                list_add_tail(&buf->buff_list, &dev->free_buff_list);
        }


Hopefully this patch can be applied.
James
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux