* usb_create_hcd calls dev_set_drvdata
@ 2008-12-27 9:15 Tigran Grigoryan
2008-12-28 6:05 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Tigran Grigoryan @ 2008-12-27 9:15 UTC (permalink / raw)
To: linux-kernel; +Cc: 'Tigran Grigoryan'
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: usb_create_hcd calls dev_set_drvdata
2008-12-27 9:15 usb_create_hcd calls dev_set_drvdata Tigran Grigoryan
@ 2008-12-28 6:05 ` Greg KH
2008-12-28 8:40 ` Tigran Grigoryan
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2008-12-28 6:05 UTC (permalink / raw)
To: Tigran Grigoryan; +Cc: linux-kernel
On Sat, Dec 27, 2008 at 01:15:59PM +0400, Tigran Grigoryan wrote:
> 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?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: usb_create_hcd calls dev_set_drvdata
2008-12-28 6:05 ` Greg KH
@ 2008-12-28 8:40 ` Tigran Grigoryan
0 siblings, 0 replies; 3+ messages in thread
From: Tigran Grigoryan @ 2008-12-28 8:40 UTC (permalink / raw)
To: 'Greg KH'; +Cc: linux-kernel, 'Tigran Grigoryan'
>> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-28 8:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-27 9:15 usb_create_hcd calls dev_set_drvdata Tigran Grigoryan
2008-12-28 6:05 ` Greg KH
2008-12-28 8:40 ` Tigran Grigoryan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox