On Mon, 12 Jun 2006 16:29:45 -0300, "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote:
> 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. :( > Suggestions? I knew it would be on the agenda, but it's not the toughest call you're going to make. I looked at drivers/serial/serial_core.c, seems to me that it's not a method called from an interrupt. So, all it needs is a replacement of the spinlock with a mutex. IMHO. Please consult with Russell and get him to accept a patch. -- Pete _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
