Message ID | 20221125130509.8482-4-ilpo.jarvinen@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4005108wrr; Fri, 25 Nov 2022 05:11:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf4tZAXrSBwTGNEP6TiLypeXIkw7embZzJAoHmjGM+rUOtFTfmR+QHYRtEWd4op9q15ZwrwU X-Received: by 2002:a17:902:b414:b0:186:7fda:4d4a with SMTP id x20-20020a170902b41400b001867fda4d4amr24345787plr.66.1669381873929; Fri, 25 Nov 2022 05:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669381873; cv=none; d=google.com; s=arc-20160816; b=lOv5RtC3ow57J6XDAhXYNsSYeJAdBkt20oYn/MMFms/OrHkZcAFE6SpadBaat2wGCZ asX8vTOmyzSuV7tHxdCm9TfFfPEx1+10YBRK5MUA6gwtU62MzKqDz0MEFAZLejL/KKWI YzvA4s3DgnXw3ObdcMdnYOpJuxsykg45peMzoFa4cXHepkXxadqgsdHS8szVcdYVi0S1 RnKo84ZPDYdPlZuGV5SfvS+IK+YPVZYeLeYgvEBhpx0V4HyMM3XLM5bQfRFRsNdgP39k gC7Nhh/uKHsGd2kLuy5o8ImHnEMLsquqaTok3Hk4Zvd7DX5s8+PLWH7r57U1Qe1aqQd2 3ZGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sv0ZnpaZAimflX2T/RqAJqY7jfejcEYh5eD/icvBWcM=; b=DbwyYiz3l7DE7ft0ZpsgwAk5CjngIetepw+ErGLKCkganjGLBwwKeL59wVZpW6EB/c Bb9Eo9vMRFBt0H/xUg42QuXeTvcaw292ESf9QGv6+t0D1j4gllkuFUFwdFqabwP2KRWN 2P388bw9nfOp3/RSI37PKpT7n9bohIt+Lm+mzCc9EbwLvYtNrdKSOWf7fT7t8ZccMmjJ PwYaljL2diykrgVM7+YX8YNbExIso1s0ED32/bsqclWgXYP+E2z2XVGBxSjvaQaSev7A d1H/plBvEb0MCSe57wArAiTKnzlHNXNquvfojssnPiHFYCn4Q9dXk/F7n1knFNP2u2Ed q3EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C2VP7sqw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a22-20020aa79716000000b005747a147929si3579235pfg.21.2022.11.25.05.10.53; Fri, 25 Nov 2022 05:11:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C2VP7sqw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbiKYNFr (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Fri, 25 Nov 2022 08:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229870AbiKYNF2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 Nov 2022 08:05:28 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D6262A95A; Fri, 25 Nov 2022 05:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669381528; x=1700917528; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0HfKkgykKh/w7L9JZtBdMwCI7ryGACxBBLi2kGimSAk=; b=C2VP7sqw9puitksVBdsz1CMT3lpGmx6frpeROSbUDcfTgvRE+cuCLC7G 3V0w7+FRqgHm1iVEnWgmYZFLBLihxipep/hRs7swN8z/s972lkzeKT4L8 h2jFJS6+EG9q0GVQUMPRf69afqDt5YXEC66kB00sB1I6a62a6J4uY6csB jR/vGj7Epx1lO2IV4d06C8zyMmVmKl4p3g1ZRNaDueE4X3qWLjvL/Fxut 1RuSS6qEdzt8SRpBdQKiVsofQBf06Mc7r8ldm+v1I5dV25F+HfW9lQ7jK vjsPi33bGnaSjFxY6vFirTjss+zZrMYmScgneIKTMw83zMUG/0RVwWkwd A==; X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="316300781" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="316300781" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2022 05:05:27 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10541"; a="706064030" X-IronPort-AV: E=Sophos;i="5.96,193,1665471600"; d="scan'208";a="706064030" Received: from dpotapen-mobl.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.252.50.101]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2022 05:05:26 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Subject: [PATCH v2 3/6] serial: 8250: Cleanup MCR literals Date: Fri, 25 Nov 2022 15:05:06 +0200 Message-Id: <20221125130509.8482-4-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221125130509.8482-1-ilpo.jarvinen@linux.intel.com> References: <20221125130509.8482-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750473767848357626?= X-GMAIL-MSGID: =?utf-8?q?1750473767848357626?= |
Series |
serial: Cleanup literals
|
|
Commit Message
Ilpo Järvinen
Nov. 25, 2022, 1:05 p.m. UTC
Use proper names from MCR bits.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
---
drivers/tty/serial/8250/8250_port.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c index c870ee8e80b6..e79bf2afd9be 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c @@ -1267,7 +1267,7 @@ static void autoconfig(struct uart_8250_port *up) * that conflicts with COM 1-4 --- we hope! */ if (!(port->flags & UPF_SKIP_TEST)) { - serial8250_out_MCR(up, UART_MCR_LOOP | 0x0A); + serial8250_out_MCR(up, UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); status1 = serial_in(up, UART_MSR) & UART_MSR_STATUS_BITS; serial8250_out_MCR(up, save_mcr); if (status1 != (UART_MSR_DCD | UART_MSR_CTS)) {