From: Greg KH <greg@kroah.com>
To: Johan Hovold <johan@kernel.org>
Cc: linux-usb@vger.kernel.org, Florian Zumbiehl <florz@florz.de>,
Charles Yeh <charlesyeh522@gmail.com>
Subject: [1/2] USB: serial: pl2303: fix non-supported xon/xoff
Date: Tue, 2 Apr 2019 14:03:54 +0200 [thread overview]
Message-ID: <20190402120353.GA24564@kroah.com> (raw)
On Tue, Apr 02, 2019 at 10:19:30AM +0200, Johan Hovold wrote:
> Older pl2303 devices do not support automatic xon/xoff flow control, so
> add add a flag to prevent trying to enable it for legacy device types.
>
> Refactor the IXON test into a helper function to improve readability.
>
> Fixes: 7041d9c3f01b ("USB: serial: pl2303: add support for tx xon/xoff flow control")
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
> drivers/usb/serial/pl2303.c | 25 ++++++++++++++++++++-----
> 1 file changed, 20 insertions(+), 5 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
next reply other threads:[~2019-04-02 12:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-02 12:03 Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-04-02 8:19 [1/2] USB: serial: pl2303: fix non-supported xon/xoff Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190402120353.GA24564@kroah.com \
--to=greg@kroah.com \
--cc=charlesyeh522@gmail.com \
--cc=florz@florz.de \
--cc=johan@kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).