Message ID | 1499958494-19354-5-git-send-email-bich.hemon@st.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp2391508obm; Thu, 13 Jul 2017 08:09:30 -0700 (PDT) X-Received: by 10.99.130.198 with SMTP id w189mr9671860pgd.26.1499958570368; Thu, 13 Jul 2017 08:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499958570; cv=none; d=google.com; s=arc-20160816; b=E8dHcwX0jqLy8aT9yrT0xCz1w5EhvFNWkKMqwcXNqk/yJJWY599/Su4Nica/MCR7s6 ElOTWqCvh7BPLuudMvOHcOGfe1bjT7r1F7fEzfAcBrAkkt37gEKDiXXzws7NvXqlWoRO OGVVNw3Rd+Mw+P8Q5499CpCW1wnlRfv0XYPDnfkTfGYWdKFs2wyvhbf1X1/mi09PdsYG cQdHKNYsUNtvaU00Kjc8Bu7n+yBSFGmX193BLshbl0ltViN7h0CKJPYqDzK2S1cRNjke 94oh47qoYLzHaK07CVsyIjwEFSMDvNR3tcVZhqpJm2JaPzmtZu+4VmVcWprnYzBfIejU tXnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=KBiObQ3UaNlzXrz4kLEL39/nANAnG2QpcBWWa6Ip84Q=; b=dpo9ySTNpSAR8r+YOFbas7NfzugIV5RU1VFpkSEUdQ8xdlS/B5EdHKlFb6WLbeAAaN SHkS4bP5+2uau2OjIzkYSM6f77n/Q4OmflTjVWzstnJ0s7ASY4yvu5izsE4kLsNOdxI1 wW8B8quU052TTU+K6vzimuUbt+oBuhHqUII6tHlxAuRVOWrgRciyNaI5rATGrpbyDBSS sGk3STocLCHoiEVHSQAqSjN/DUTNKA+wET/0n+NPeR7o+xksWEwNvU7bjVAoKzTh2Lzw PHRIHKjBb7XHO+2HaVsQDBRb0a/AwN1R4lfJN8vgkeS4i4jNA5yjjI7k41P3Vq5rgyZB 633w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v76si4318981pfk.471.2017.07.13.08.09.30; Thu, 13 Jul 2017 08:09:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbdGMPJQ (ORCPT <rfc822;georgi.djakov@linaro.org> + 25 others); Thu, 13 Jul 2017 11:09:16 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:3603 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752552AbdGMPJO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Jul 2017 11:09:14 -0400 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 v6DF3iQr015123; Thu, 13 Jul 2017 17:08:29 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-.pphosted.com with ESMTP id 2bp9ergj7v-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Jul 2017 17:08:29 +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 2722734; Thu, 13 Jul 2017 15:08:29 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0E8C1250F; Thu, 13 Jul 2017 15:08:29 +0000 (GMT) Received: from SFHDAG3NODE1.st.com (10.75.127.7) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 13 Jul 2017 17:08:28 +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; Thu, 13 Jul 2017 17:08:28 +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> CC: Bich HEMON <bich.hemon@st.com> Subject: [PATCH 4/9] serial: stm32: fix pio transmit timeout Thread-Topic: [PATCH 4/9] serial: stm32: fix pio transmit timeout Thread-Index: AQHS++nhPgh783sfjEmezRqkpWJk/Q== Date: Thu, 13 Jul 2017 15:08:28 +0000 Message-ID: <1499958494-19354-5-git-send-email-bich.hemon@st.com> References: <1499958494-19354-1-git-send-email-bich.hemon@st.com> In-Reply-To: <1499958494-19354-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.49] Content-Type: text/plain; charset="utf-8" Content-ID: <177AD9F35409B74E8756A10148D9829A@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-07-13_08:, , signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/tty/serial/stm32-usart.c b/drivers/tty/serial/stm32-usart.c index a12d79c..ca61bfe 100644 --- a/drivers/tty/serial/stm32-usart.c +++ b/drivers/tty/serial/stm32-usart.c @@ -202,7 +202,7 @@ static void stm32_transmit_chars_pio(struct uart_port *port) ret = readl_relaxed_poll_timeout_atomic(port->membase + ofs->isr, isr, (isr & USART_SR_TXE), - 10, 100); + 10, 100000); if (ret) dev_err(port->dev, "tx empty not set\n");