[linuxtv-cvs] dvb-kernel
Patrick Boettcher
patrick.boettcher at desy.de
Tue Aug 16 12:31:26 CEST 2005
On Tue, 16 Aug 2005, Johannes Stezenbach wrote:
> On Tue, Aug 16, 2005 at 12:11:24PM +0200, Patrick Boettcher via CVS wrote:
>> CVSROOT: /cvs/linuxtv
>> Module name: dvb-kernel
>> Changes by: pb 20050816 12:11:24
>>
>> Modified files:
>> linux/drivers/media/dvb/dvb-usb: a800.c dibusb-mb.c dibusb-mc.c
>> dtt200u.c dvb-usb-ids.h
>> dvb-usb-init.c dvb-usb.h
>> nova-t-usb2.c umt-010.c
>> vp702x.c vp7045.c
>>
>> Log message:
>> changed the init call to get the dvb_usb_device back immediatly if necessary.
>
> What does this mean? Can you give me a better patch description, please?
A instance of struct dvb_usb_device is created for each dvb-usb-device
when calling
int dvb_usb_device_init(struct usb_interface *intf, struct
dvb_usb_properties *props, struct module *owner);
from the driver's probe-function.
I changed this call to
int dvb_usb_device_init(struct usb_interface *intf, struct
dvb_usb_properties *props, struct module *owner, struct dvb_usb_device
**du);
to get the struct dvb_usb_device instance back directly in order to do
something with rather than calling usb_get_intfdata first.
Sorry for my shortness in the first place.
Patrick.
More information about the linuxtv-cvs
mailing list