From: Alan Cox Subject: Re: [PATCH 3/3] serial: pl011: allow very high baudrates Date: Fri, 21 Sep 2012 16:05:03 +0100 Message-ID: <20120921160503.53736fee@pyramind.ukuu.org.uk> References: <1348134368-25663-1-git-send-email-linus.walleij@stericsson.com> <20120920190034.GB15609@n2100.arm.linux.org.uk> <20120921153710.220adb92@bob.linux.org.uk> <20120921145803.GF15609@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:39180 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755206Ab2IUPA4 (ORCPT ); Fri, 21 Sep 2012 11:00:56 -0400 In-Reply-To: <20120921145803.GF15609@n2100.arm.linux.org.uk> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Russell King - ARM Linux Cc: Alan Cox , Linus Walleij , Greg Kroah-Hartman , Linus Walleij , linux-serial@vger.kernel.org, Guillaume Jaunet , Par-Gunnar Hjalmdahl , Anmar Oueja , Matthias Locher , "Rajanikanth H.V" , Christophe Arnal , linux-arm-kernel@lists.infradead.org > Alan - the only issue that remains is handling the invalid baud rate > situation - if left to individual drivers to do this, we will see them > doing stuff (as was the case with this very patch - and was the case > prior to serial_core) such as using dev_err() to print an error and > merely returning from their set_termios function, or clamping to some > speed and not feeding back to userspace what they're actually doing. They've had years to adapt. It's time they got with the program or just broke horribly. Alan