From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758507AbcG0U7M (ORCPT ); Wed, 27 Jul 2016 16:59:12 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35450 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752275AbcG0U7J (ORCPT ); Wed, 27 Jul 2016 16:59:09 -0400 From: Pascal JEAN To: gregkh@linuxfoundation.org Cc: jslaby@suse.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: sc16is7xx: fix RTS/CTS implementation and add reading CTS Date: Wed, 27 Jul 2016 22:58:41 +0200 Message-Id: <1469653123-21867-1-git-send-email-epsilonrt@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, Here are explanations of the two patches: 0001-sc16is7xx-fix-RTS-CTS-implementation.patch: RTS/CTS handshaking for sc16is7xx driver does not work, no character is sent regardless of the state of CTS. This test was done on a raspberry pi 2: 1- sc16is7xx_set_baud() overwrites the flow control configuration bits in EFR. Writing in EFR has been replaced by an update. 2- As noted in the file Documentation/serial/driver, get_mctrl() should return an active state for unsupported entries. 0002-sc16is7xx-add-reading-CTS.patch: This patch adds the possibility to read the actual status of the CTS input when RTS/CTS handshaking is not activated. After those changes everything works. Thank you for your hard work. Have a nice day. Pascal