Messages in this thread | | | Date | Tue, 6 Jun 2006 13:15:03 -0300 | From | "Luiz Fernando N. Capitulino" <> | Subject | Re: [PATCH 8/11] usbserial: pl2303: Ports tty functions. |
| |
On Tue, 06 Jun 2006 10:23:28 +0100 Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
| > > | > > > 2. The new pl2303's set_termios() can (still) sleep. Serial Core's | > > | > > > documentation says that that method must not sleep, but I couldn't find | > > | > > > where in the Serial Core code it's called in atomic context. So, is this | > > | > > > still true? Isn't the Serial Core's documentation out of date? | | For the tty layer at least this was fixed to be semaphore locked and I | think this is now a docs error. It was fixed precisely because the USB | people couldn't resolve termios setup without sleeping.
Russell, could you confirm if this is valid for the Serial Core layer?
-- Luiz Fernando N. Capitulino - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |