Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2755891lqz; Wed, 3 Apr 2024 07:48:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzYB/QqQC8IMvt9sBl5sTqmFGolTCG+r3fSmWmOdks9FgcN58qeVtDQLHkXDxaOt5fKxR7GQNnZrbGOh209E7bSZWCMo/YOzAN3oASNw== X-Google-Smtp-Source: AGHT+IFDuyLqaMbYkmEjEwIPWtcRY1oWYkeqdc/KF1SzooRKWmKJhtSHlz8bzhnnHxw10zppzagS X-Received: by 2002:a05:6512:4023:b0:513:eeaa:8f1f with SMTP id br35-20020a056512402300b00513eeaa8f1fmr13860704lfb.47.1712155695652; Wed, 03 Apr 2024 07:48:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712155695; cv=pass; d=google.com; s=arc-20160816; b=OZ2eRYpohLDU2FhHBun9RlXZmqiM/jqzOcIyKCGzm8bu4EZhsYMhy3141Q6dwSlQCu sHD3gfQqKjdR7xDZLz7UC0tHYMJr+50+mZhU7HsjBu2I/7002edeMT8iXq5iylZkw1uw aK9zSP9nJOnOoM+3uvLBEx0Pt/dPeWjlGoXR9xcYIASnCYykXh7Fxifwbxs3tTJ+H3CH ImMqOHzR8UHzLfxLOJHy/0y07JXlg23yeqslmDBu5CT4ogLaBDfXEiQ43Ibm9LY6LmiN KwJp1LB8UERcWdu5o5WpNRXKERJgqz5/dAzmaPaOdXzGNOVecv/B+PTDMEB96RcisptH uJkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7FejE+8lXkvjzYY2gz+5+HNPA8ja4keJCs4W5TKlG6I=; fh=QKgDmNnksEygWIOGmyPEC6/QGoxhDGTtAJU8IHsTnQg=; b=pI9ADI4AjabUepqAKNHZpyQ71VADMVHB0DKY3VXS4KYY7CwIBfCCMhBqwc2r3qn9FB hgaCDYTRDyk1DZORecXasah8ZE0EXCAR04Nk4mxBmX+GYqPbtwnu6T1Awkom0WQn5QI5 exN0m/sZahqZQQjPFmIYE+mw+R7g2gM369MUEzkOmsVrz+v0y2ljdBJktc6cxFi2B2om LGQ2yS20RxGKnafwSnOdmzV/v8y2AaORkLU3SN6TtVaJLhQ19J2oYgtZxVf/k4ext9FR 38eF4sRHfLgPuhknIzDRps3l6RHyQcKTxmtECbihgr0UXkkzp8j69mB/wTnCYjAJn7fs L4uQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=az89PdXa; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c13-20020a17090654cd00b00a4739d9d28fsi6664682ejp.556.2024.04.03.07.48.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 07:48:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=az89PdXa; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-129998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5D7201F28699 for ; Wed, 3 Apr 2024 14:48:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CE6D149DF5; Wed, 3 Apr 2024 14:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="az89PdXa" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E2B71494A1; Wed, 3 Apr 2024 14:47:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712155658; cv=none; b=PEd/OTvvOqZUQd8wZGKYFRJI4zil9LiNvvzAwbfrj/W+6Lvfdje/rNlwrJkHeqMVGvBEtxfvoABS6ArgSUy5qF1IMpE55iQbzgrvINCYCbIUVij1s241vBUiWcXOoeDKkY5LzMv/rNPTMIictmvmCseL2xWC8lHnJeZq/28o1LE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712155658; c=relaxed/simple; bh=l768EKMi5Qcmw0SI+NUxxzGDRtMSPlHXPvp9gOd0qD8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=M5f685PcI+doO21A9zxOdGrr8XqeldP9f7XzWQqrCxYXTT7kYYSEFqQbh6pdSbBe11YjkqKFiKE0c8MbLUvbViCfbQ1Q5M2IWdhIv5AdMBva04DFEosyXZEYQpk+dysqkUmGUcnnCBzgr3By98dFKtiAdxoEOEpUlKZJCek17AI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=az89PdXa; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712155655; x=1743691655; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=l768EKMi5Qcmw0SI+NUxxzGDRtMSPlHXPvp9gOd0qD8=; b=az89PdXatea4m3wDtjypL1chVzn31JB6erGbcLlDZW4U/1wxhQqeRSB0 XCCLwRIzoDy5CTtgqlE6QVxol/douYLQaM9fg70AtwY2Dl87pRigA8C1h 2eBB56OtH1FVavntgKGpvz0AzDE9n1RiqsmUzhsQeF0Ian7wAQ89LfHpX FG2Z3J9x9dydvLKk/e3ne+tLQ+a1CtSIWn8kzEdx5FmlxwqThGZz9KQ4u MyBzOouOLAl7g35o1T+iwxi6rR3oNvfxav+UKsDYgkMTbEFgtmrTW351f rZ5SpgQo+vuv05XAoc8yTWt9AK7BvhLTxwfiHed5kwvi1x7/hb+2Aw17n g==; X-CSE-ConnectionGUID: 0N/UmaQ6QiK5PETMPvNZfQ== X-CSE-MsgGUID: P0mmy9FSQHaRyWeAa0WVGg== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="17963790" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="17963790" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 07:47:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="937085160" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="937085160" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 03 Apr 2024 07:47:29 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id EC7EE670; Wed, 3 Apr 2024 17:47:28 +0300 (EEST) From: Andy Shevchenko To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Jiri Slaby , Orson Zhai , Baolin Wang , Chunyan Zhang , Andy Shevchenko Subject: [PATCH v1 2/3] serial: fsl_lpuart: Don't count XON/XOFF in the statistics Date: Wed, 3 Apr 2024 17:46:16 +0300 Message-ID: <20240403144722.860258-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240403144722.860258-1-andriy.shevchenko@linux.intel.com> References: <20240403144722.860258-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Don't count XON/XOFF in the statistics in lpuart32_transmit_buffer(). It will make it in align with other serial drivers. Signed-off-by: Andy Shevchenko --- drivers/tty/serial/fsl_lpuart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index bbcbc91482af..a1cdb0ccc40e 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -761,7 +761,6 @@ static inline void lpuart32_transmit_buffer(struct lpuart_port *sport) if (sport->port.x_char) { lpuart32_write(&sport->port, sport->port.x_char, UARTDATA); - sport->port.icount.tx++; sport->port.x_char = 0; return; } -- 2.43.0.rc1.1.gbec44491f096