Re: [Bisected] [Bug #13821] Replugging USB serial converter uses new device node

From: Rafael J. Wysocki
Date: Tue Jul 28 2009 - 17:07:29 EST


On Tuesday 28 July 2009, Ferenc Wagner wrote:
> Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> writes:
>
> > commit 3f40612e940971ecec29d5375cdcc9f9c9a9f46e
> > Author: Alan Cox <alan@xxxxxxxxxxxxxxx>
> > Date: Tue Jul 28 00:23:39 2009 +0100
> >
> > tty: USB lock/refcounting fixes
> >
> > This fixes
> > - locking bug that was hidden by ecc2e05e739c30870c8e4f252b63a0c4041f2724
> > - Regression #13821
> > - Spurious warning when closing and blocking for data write out
> >
> > With these changes my PL2303 always ends up as ttyUSB0 when it should and
> > the module refcounts stay correct.
> >
> > I'll do a more wholesale split & tidy of _open in the next release or two
> > as we get a standard tty_port_open and port->ops->init port->ops->shutdown
> > call backs.
> >
> > Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
>
> I confirm that current git (containing the above patch) has regression
> #13821 fixed, as well as the open bug discovered by Alan Stern.

Thanks, closed.

Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/