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

Rafael J. Wysocki
2009-07-28T21:07:23Z

On Tuesday 28 July 2009, Ferenc Wagner wrote:
> Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
>
> > commit 3f40612e940971ecec29d5375cdcc9f9c9a9f46e
> > Author: Alan Cox <alan@linux.intel.com>
> > 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@linux.intel.com>
>
> 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