Hi there. While porting the ftdi_sio driver to the new USB-Serial, I faced a problem I think we'll have with other drivers as well.
The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget() to get the modem status from the device, but ftdi_get_mctrl() (Serial Core version) cannot sleep because it's called with a spinlock taken. :( After greping a bit I found that other drivers does the same. At least for set_mctrl(), it's arguable whether it's acceptable or not to send an atomic URB. But for get_mctrl() it's not, we just can't do that. Suggestions? -- Luiz Fernando N. Capitulino _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel