Prev: USB: g_ffs: the FunctionFS gadget driver
Next: patch usb-gadget-webcam-depends-on-video_dev.patch added to gregkh-2.6 tree
From: Alan Cox on 5 May 2010 19:50 > So, which ones should I move? How about to start with the ones you > listed above: > drivers/char/amiserial.c > drivers/char/generic_serial.c Generic serial covers several old drivers that are defunct drivers/char/rio/ drivers/char/vme_scc drivers/char/ser_a2232 drivers/char/sx/ drivers/char/ip2/ > drivers/char/specialix.c Leave specialix.c for now - that one is probably salvagable fairly easily and I think has a couple of users. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Daniel K. on 15 May 2010 23:20
Arnd Bergmann wrote: > diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c > index 5bd382e..3c0231a 100644 > --- a/drivers/char/amiserial.c > +++ b/drivers/char/amiserial.c > @@ -1527,6 +1527,7 @@ static void rs_wait_until_sent(struct tty_struct *tty, int timeout) > { > struct async_struct * info = tty->driver_data; > unsigned long orig_jiffies, char_time; > + int tty_was_locked = tty_locked(); > int lsr; > > if (serial_paranoia_check(info, tty->name, "rs_wait_until_sent")) > @@ -1578,7 +1584,8 @@ static void rs_wait_until_sent(struct tty_struct *tty, int timeout) > break; > } > __set_current_state(TASK_RUNNING); > - tty_unlock(); > + if (!tty_was_locked()) tty_was_locked is not a function. Daniel K. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |