* PATCH to hdpvr-video.c solves DMA allocation problems on arm processsors.
@ 2010-09-03 16:19 James MacLaren
2010-09-04 17:29 ` Janne Grunau
0 siblings, 1 reply; 2+ messages in thread
From: James MacLaren @ 2010-09-03 16:19 UTC (permalink / raw)
To: linux-media
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH to hdpvr-video.c solves DMA allocation problems on arm processsors.
2010-09-03 16:19 PATCH to hdpvr-video.c solves DMA allocation problems on arm processsors James MacLaren
@ 2010-09-04 17:29 ` Janne Grunau
0 siblings, 0 replies; 2+ messages in thread
From: Janne Grunau @ 2010-09-04 17:29 UTC (permalink / raw)
To: James MacLaren; +Cc: linux-media
On Fri, Sep 03, 2010 at 11:19:00AM -0500, James MacLaren wrote:
> 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.
yes, it can and should. Please resend the patch without the '// added JMM'
comment and your sign-off
Janne
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-04 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-03 16:19 PATCH to hdpvr-video.c solves DMA allocation problems on arm processsors James MacLaren
2010-09-04 17:29 ` Janne Grunau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.