On Mon, 12 Jun 2006 14:41:23 -0700 Pete Zaitcev <[EMAIL PROTECTED]> wrote:
| 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. That would be great. | Please consult with Russell and get him to accept a patch. I'll try, but didn't get any feedback from my previous e-mails so far. :( -- Luiz Fernando N. Capitulino _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
