[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091009175602.GC5718@kroah.com>
Date: Fri, 9 Oct 2009 10:56:02 -0700
From: Greg KH <greg@...ah.com>
To: Johan Hovold <jhovold@...il.com>
Cc: Alan Stern <stern@...land.harvard.edu>,
Alan Cox <alan@...rguk.ukuu.org.uk>, linux-usb@...r.kernel.org,
e9hack <e9hack@...glemail.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: serial: Fix read regression in 2.6.31.
On Sun, Sep 20, 2009 at 10:18:36PM +0200, Johan Hovold wrote:
> Use ASYNCB_INITIALIZED to determine when to stop reading.
>
> Port count can no longer be used to determine when to stop reading from
> the device as it can be zero when the first read callbacks are made (see
> tty_port_block_til_read where port count is temporarily decremented
> during serial_open).
>
> Signed-off-by: Johan Hovold <jhovold@...il.com>
> ---
>
> Hi,
>
> Here's a patch which fixes the port count issue for all drivers. I only
> have access to an ftdi device at the moment so that's the only driver
> I've been able to test (against latest git with latest patches from
> Greg's tree).
Hm, this doesn't apply on top of the other ftdi patches. Could you
respin this?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists