Re: usb_set_intfdata usage for two subdrivers
From: Greg KH <hidden>
Date: 2011-08-29 02:54:20
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