Message ID | 1498481318-1894-19-git-send-email-bich.hemon@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ACD9360329 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 26 Jun 2017 12:55:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEB9B27F97 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 26 Jun 2017 12:55:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A190628578; Mon, 26 Jun 2017 12:55:59 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 254AF27F97 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 26 Jun 2017 12:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SXrbtYltponKftmKXbHi+uAEeOalSBuq/dFCSSEtuRA=; b=CPujK94fv0uNGF 39Sfu0596Iz0JfiSpj0s+cUsrY7Y6Q2wQ5dVM6Su4A0xKHohDLWiPk9gRLneiSTMrgpLPbAb0Zt84 swqJotU6m4Wn6Na/+cSVjKwpILLhdAHZiO4DXtEF5BEOOHhbJz0rGXLuQiUdW77WZDhPKeDlVqRrC M46oQROjz+HpRmh2d+pzW0a5v+q/onUy2PppYWn/Ub5CYsphEshEXxYFAvva2627hjtZB+qIrc/IY GJGddpayT6VfjHuHDOOoRfr+oQP3x2QX15GaH+S9HMT8Bc7HkxlL7V9HFP7w038uSZ91OLpwngF0v fWy63IyMVcuQcdmxY43g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dPTYb-0001cs-9m; Mon, 26 Jun 2017 12:55:57 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPTTA-0003JP-DP for linux-arm-kernel@bombadil.infradead.org; Mon, 26 Jun 2017 12:50:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YEv5pYPvClJyupoXpIUAQwLf4AHkvAN/MFNni3GRR1Y=; b=FU1rxrXbWr92Z14u9TMNxjeG41 oUNrTK0CvXd/yHlyDZ906O62/1RGalvw80R8WQRjjTaKr/XPztbWPNN924q6wHV0qfDJ7ZHUL9MlD QMVWhDcQ+twPtqQGRLjSBHXJ+9nEUCEZAbusWygB0qthTOCtsJVh+5ZHOfQDs8xjWbWgbL0NzZD2t +UsoW63HHQFKyuCdW1Wjn2kFx8G7xSL0mw0tA0eJ4Z/qA07m6zR+JU9cgvgaxtfcAtNDOVNfEbGRW WWiXEN8qYTtvZnIXDAI1ZATVvnaQavUZlwvQJ0YgrV0KZ3iezP4bphfXaFnRfHKZzeIEFNjyllKXo v0QyrNpg==; Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPTT7-0001r3-3k for linux-arm-kernel@lists.infradead.org; Mon, 26 Jun 2017 12:50:18 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v5QCndTv010898; Mon, 26 Jun 2017 14:49:45 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-.pphosted.com with ESMTP id 2b9dupjdy3-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 26 Jun 2017 14:49:45 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EFC663A; Mon, 26 Jun 2017 12:49:44 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D0F8B16AE; Mon, 26 Jun 2017 12:49:44 +0000 (GMT) Received: from SFHDAG3NODE1.st.com (10.75.127.7) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 26 Jun 2017 14:49:44 +0200 Received: from SFHDAG3NODE1.st.com ([fe80::1166:1abb:aad4:5f86]) by SFHDAG3NODE1.st.com ([fe80::1166:1abb:aad4:5f86%20]) with mapi id 15.00.1178.000; Mon, 26 Jun 2017 14:49:44 +0200 From: Bich HEMON <bich.hemon@st.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre TORGUE <alexandre.torgue@st.com>, "Jiri Slaby" <jslaby@suse.com>, "linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: [PATCH 18/20] serial: stm32: update dma buffers length Thread-Topic: [PATCH 18/20] serial: stm32: update dma buffers length Thread-Index: AQHS7nqftvLehaz8FE6pDko2GffP8g== Date: Mon, 26 Jun 2017 12:49:16 +0000 Message-ID: <1498481318-1894-19-git-send-email-bich.hemon@st.com> References: <1498481318-1894-1-git-send-email-bich.hemon@st.com> In-Reply-To: <1498481318-1894-1-git-send-email-bich.hemon@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.50] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-26_09:, , signatures=0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Bich HEMON <bich.hemon@st.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/tty/serial/stm32-usart.h b/drivers/tty/serial/stm32-usart.h index 25ed28b..5137e68 100644 --- a/drivers/tty/serial/stm32-usart.h +++ b/drivers/tty/serial/stm32-usart.h @@ -238,9 +238,9 @@ struct stm32_usart_info stm32h7_info = { #define STM32_SERIAL_NAME "ttyS" #define STM32_MAX_PORTS 8 -#define RX_BUF_L 200 /* dma rx buffer length */ +#define RX_BUF_L 160 /* dma rx buffer length */ #define RX_BUF_P RX_BUF_L /* dma rx buffer period */ -#define TX_BUF_L 200 /* dma tx buffer length */ +#define TX_BUF_L RX_BUF_L /* dma tx buffer length */ struct stm32_port { struct uart_port port;