* [linux-dvb] [PATCH] usb-urb.c: Fix initialization of URB list.
@ 2008-12-29 12:56 Thomas Reitmayr
2008-12-29 13:59 ` Patrick Boettcher
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Reitmayr @ 2008-12-29 12:56 UTC (permalink / raw)
To: linux-dvb
The following patch was sent to this list back in May 2008
(http://linuxtv.org/pipermail/linux-dvb/2008-May/025952.html) and had a
followup of myself in October 2008.
As the kernel oops with USB DVB receivers happens again and again I want
to propose to finally apply this patch to the v4l-dvb repository.
Thanks,
-Thomas
Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
--- linux-old/drivers/media/dvb/dvb-usb/usb-urb.c 2008-12-29 13:50:33.000000000 +0100
+++ linux/drivers/media/dvb/dvb-usb/usb-urb.c 2008-12-29 13:52:19.000000000 +0100
@@ -160,7 +160,8 @@ static int usb_bulk_urb_init(struct usb_
stream->props.u.bulk.buffersize,
usb_urb_complete, stream);
- stream->urb_list[i]->transfer_flags = 0;
+ stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP;
+ stream->urb_list[i]->transfer_dma = stream->dma_addr[i];
stream->urbs_initialized++;
}
return 0;
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-dvb] [PATCH] usb-urb.c: Fix initialization of URB list.
2008-12-29 12:56 [linux-dvb] [PATCH] usb-urb.c: Fix initialization of URB list Thomas Reitmayr
@ 2008-12-29 13:59 ` Patrick Boettcher
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Boettcher @ 2008-12-29 13:59 UTC (permalink / raw)
To: Thomas Reitmayr; +Cc: linux-dvb
Hi Thomas,
On Mon, 29 Dec 2008, Thomas Reitmayr wrote:
> The following patch was sent to this list back in May 2008
> (http://linuxtv.org/pipermail/linux-dvb/2008-May/025952.html) and had a
> followup of myself in October 2008.
> As the kernel oops with USB DVB receivers happens again and again I want
> to propose to finally apply this patch to the v4l-dvb repository.
> Thanks,
> -Thomas
>
> Signed-off-by: Thomas Reitmayr <treitmayr@devbase.at>
>
> --- linux-old/drivers/media/dvb/dvb-usb/usb-urb.c 2008-12-29 13:50:33.000000000 +0100
> +++ linux/drivers/media/dvb/dvb-usb/usb-urb.c 2008-12-29 13:52:19.000000000 +0100
> @@ -160,7 +160,8 @@ static int usb_bulk_urb_init(struct usb_
> stream->props.u.bulk.buffersize,
> usb_urb_complete, stream);
>
> - stream->urb_list[i]->transfer_flags = 0;
> + stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP;
> + stream->urb_list[i]->transfer_dma = stream->dma_addr[i];
> stream->urbs_initialized++;
> }
> return 0;
Committed and ask for pull request.
Thanks and sorry for the delay.
Patrick.
--
Mail: patrick.boettcher@desy.de
WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-29 14:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 12:56 [linux-dvb] [PATCH] usb-urb.c: Fix initialization of URB list Thomas Reitmayr
2008-12-29 13:59 ` Patrick Boettcher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox