Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: [PATCH 4/4] tty: Remove external interface for tty_set_termios() From: Marcel Holtmann In-Reply-To: <1422215094-3216-5-git-send-email-peter@hurleysoftware.com> Date: Sun, 25 Jan 2015 12:36:32 -0800 Cc: Greg Kroah-Hartman , linux-serial@vger.kernel.org, linux-arm-kernel , linux-omap , Jiri Slaby , Johan Hedberg , linux-bluetooth@vger.kernel.org Message-Id: <6C672878-BEFC-4B8D-AC26-1320723ACFCB@holtmann.org> References: <1422215094-3216-1-git-send-email-peter@hurleysoftware.com> <1422215094-3216-5-git-send-email-peter@hurleysoftware.com> To: Peter Hurley Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Peter, > tty_set_termios() is an internal helper intended for file scope use. > > UART drivers which are capable of driving the RTS pin must > properly handle the tiocmset() method, regardless of termios settings. > A failure to do so is a UART driver bug and should be fixed there. > Do not use this interface to workaround UART driver bugs. > > Cc: Marcel Holtmann > Cc: Johan Hedberg > Cc: > Signed-off-by: Peter Hurley > --- > drivers/bluetooth/hci_ath.c | 15 ++------------- > drivers/tty/tty_ioctl.c | 3 +-- > include/linux/tty.h | 1 - > 3 files changed, 3 insertions(+), 16 deletions(-) I think the less complication is if this goes through the TTY tree. Acked-by: Marcel Holtmann Regards Marcel