From patchwork Sun Apr 21 12:21:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 10910487 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C8FD917E0 for ; Sun, 21 Apr 2019 12:22:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5F892864A for ; Sun, 21 Apr 2019 12:22:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A88602864E; Sun, 21 Apr 2019 12:22:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A04D2864E for ; Sun, 21 Apr 2019 12:22:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727415AbfDUMWA (ORCPT ); Sun, 21 Apr 2019 08:22:00 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:40420 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727370AbfDUMWA (ORCPT ); Sun, 21 Apr 2019 08:22:00 -0400 Received: by mail-lf1-f67.google.com with SMTP id a28so7119957lfo.7 for ; Sun, 21 Apr 2019 05:21:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wTrJkArsFkFtMLGY1Fb7H8Jbb2cACDNX6phiIfCNxdo=; b=gGrcMggmOEDKaVwbPrwGfKhLwPwxKONqejoxxt086Iq37eoD+m5eR3lG1WpqAyRbzD uFclD/BNotqSJx2p/LE3HEwTyIBU0EuiBxjmJkGJrlSfgvUD6wQkm69W/J+EjiohyFYD RcYRIAgCvPgoTglIMZupb51MCC9TjDOQm6Bdb6M6vLCz+cRk4ZMNTSy6goNBsft+DJvE TUEq3QtPJSH3ncRplxKVCs+KmH5aC4IydNbIU3SdNwlqQV8GP+YABYDcFHc9R+dZPjTT /bMx4ZsU0x8+O1T+arTk9jOyP01kQZPCnEc7bTEwxuU5Pj33RciZ/8WMY0y6ITmitB6R Yqkg== X-Gm-Message-State: APjAAAW8STb9RsWXF85dU2w+gMdRd3smF61Ht8PJl1TDwn7NBMXWtHEl DzbKwN5BO9QRWxDRQalGV8ir8mXb X-Google-Smtp-Source: APXvYqy/rOVLHQMDWuDWa2Hkm+kAB++RB8ml/Z82Y1kPIBkWCoCT4Hs/+a998t31FR91Yog+ku+c+w== X-Received: by 2002:ac2:4566:: with SMTP id k6mr7688967lfm.22.1555849317425; Sun, 21 Apr 2019 05:21:57 -0700 (PDT) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id s3sm2447730lfc.25.2019.04.21.05.21.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Apr 2019 05:21:55 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1hIBTs-0006u9-JP; Sun, 21 Apr 2019 14:22:00 +0200 From: Johan Hovold To: linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , Johan Hovold Subject: [PATCH 6/9] USB: serial: iuu_phoenix: drop bogus initial cflag Date: Sun, 21 Apr 2019 14:21:51 +0200 Message-Id: <20190421122154.26465-7-johan@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190421122154.26465-1-johan@kernel.org> References: <20190421122154.26465-1-johan@kernel.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Drop bogus TIOCM_CTS, which is not a cflag, from the initial terminal settings. Note that the corresponding bit is already set by CS8. Signed-off-by: Johan Hovold --- drivers/usb/serial/iuu_phoenix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index 449e89db9cea..93763d3d5e56 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c @@ -943,8 +943,7 @@ static void iuu_close(struct usb_serial_port *port) static void iuu_init_termios(struct tty_struct *tty) { tty->termios = tty_std_termios; - tty->termios.c_cflag = CLOCAL | CREAD | CS8 | B9600 - | TIOCM_CTS | CSTOPB | PARENB; + tty->termios.c_cflag = CLOCAL | CREAD | CS8 | B9600 | CSTOPB | PARENB; tty->termios.c_ispeed = 9600; tty->termios.c_ospeed = 9600; tty->termios.c_lflag = 0;