[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140412175812.107ecbdf@alan.etchedpixels.co.uk>
Date: Sat, 12 Apr 2014 17:58:12 +0100
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Murali Karicheri <m-karicheri2@...com>
Cc: <devicetree@...r.kernel.org>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-serial@...r.kernel.org>,
<balbi@...com>, Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Randy Dunlap <rdunlap@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.cz>
Subject: Re: [PATCH] serial: uart: add hw flow control support configuration
> not needed if hw has flow control capabilities. This patch adds a
> DT attribute for enabling hw flow control for a uart port. Also skip
> stop and start if this flag is present in flag field of the port
> structure.
That seems a sensible thing to add.
> - if (up->capabilities & UART_CAP_AFE && port->fifosize >= 32) {
> + if ((up->capabilities & UART_CAP_AFE && (port->fifosize >= 32)) ||
> + port->flags & UPF_HARD_FLOW) {
Surely you want brackets on the port->flags & UPF_HARD_FLOW ??
Alan
--
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