Thread (4 messages) 4 messages, 3 authors, 2011-08-29

Re: usb_set_intfdata usage for two subdrivers

From: Greg KH <hidden>
Date: 2011-08-29 02:54:20

On Mon, Aug 29, 2011 at 02:30:26AM +0300, Antti Palosaari wrote:
I am trying to implement DVB USB device smartcard reader support
using USB-serial.
Really?  Why?  That doesn't seem to make sense, please explain more.
The main problem is now that both DVB-USB and
USB-serial uses interface data (usb_set_intfdata / usb_get_intfdata)
for state.

Is there any common solution to resolve issue easily?
No two drivers can bind to the same USB interface, so of course they
would interfere.

Care to explain the problem in more detail to see if there is a better
way to do all of this?

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help