RE: usb_create_hcd calls dev_set_drvdata

From: Tigran Grigoryan
Date: Sun Dec 28 2008 - 03:40:51 EST


>> Hi,
>>
>> Why usb_create_hcd calls dev_set_drvdata and never uses that data.

>Are you sure about that?

>> OTG device drivers may want to set their own data.

>Yes, and is this a problem?

>I'm confused to what exactly is wrong here. Does the new OTG drivers
>not work for you, or are you writing a new one?

Actually it is not a problem, just OTG driver have to overwrite driver data
set by usb_create_hcd.

Thanks,
Tigran

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/