usb_create_hcd calls dev_set_drvdata
Hi,
Why usb_create_hcd calls dev_set_drvdata and never uses that data. OTG device drivers may want to set their own data.
Thanks,
Tigran
Quoted 3 lines · Tigran Grigoryan
Hi,
Why
usb_create_hcdcallsdev_set_drvdataand never uses that data.
Are you sure about that?
Quoted 1 line
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?
thanks,
greg k-h
Quoted 4 lines
Quoted 3 lines
Hi,
Why
usb_create_hcdcallsdev_set_drvdataand never uses that data.
Quoted 8 lines
Are you sure about that?
Quoted 1 line
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