From patchwork Tue May 21 15:45:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erwan Le Ray X-Patchwork-Id: 164732 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1767828ili; Tue, 21 May 2019 08:46:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyH7Tpqpey1JGmXS0LD7V/l2wSIalkkCnnY7VfmeRz9y2mOYrp9PmCFGVKQ+TJOJbJlPK2i X-Received: by 2002:a17:902:24c:: with SMTP id 70mr38307421plc.119.1558453582024; Tue, 21 May 2019 08:46:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558453582; cv=none; d=google.com; s=arc-20160816; b=A06jdEtR8Wr8TNx7ZGWildeZ8G91d/MbzX4gi12PKgxE+WKH/QtcQovjP7YF7Uv9bl Z3Q8XBeWtvv3CTXAOBycXOAnLiptUOBk3hbey8E0H66v1PrkB2ceZvsSEBXKGNlC2ohS vGwWXRPx+epndKF3QrHeHEJ6XzQjB2phu+7dsiz6kZ/tZoB/6A8E0PnUf7M2qj4x9SQT BiZf6cA3QwZx0w8M0no51ZqfPKEYxE6BL+6KwDYy4K31MzcHRsboPrXyjg6io1LHO+p9 ordXpbEbpj62ZZ0Y0urQYybmu9MjYwXrx1X6HtmZ5OnMDg/FWsDutEYx+zyks7AEm36I +T9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=YLY8K4JAd9i9hkG4XK+nEONRnmj7dXy3ssCpW/hpiHg=; b=kRUOIsMScFpSq9z/p7vEpqSZrkCGH0G6Y5KNyv0TmPe4FgsUliYLm9P4QlwLgZAge4 955bW9EH7KJ2CUs6mLWspuYfJ6c0eFOh48JqTbFFSBjtB5NlSIdfyCy7CdNga+CoUBPQ fOolvX/LcRCuq5GMftkTn5MYfFX1rH6RtiV/sOJM8vWf/VLuAR3/UuECJ+C3Pco5Nuws KcIyBGvKpSU6Ts82myvbJPV88NJwowOB0CThJyjD5VO0RmaYohqSkmEOwvQ5c3THvbYF kYihE3QpsOFeAtNKU6RHVgoNxCmF0FYuMpwn60c+nJCSjq6WDawRWu+ludGYdZiSSmQI MjGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=fsRoIo34; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay7si352627plb.135.2019.05.21.08.46.21; Tue, 21 May 2019 08:46:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=fsRoIo34; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728091AbfEUPqV (ORCPT + 1 other); Tue, 21 May 2019 11:46:21 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:9932 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728571AbfEUPqV (ORCPT ); Tue, 21 May 2019 11:46:21 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4LFbDtR021412; Tue, 21 May 2019 17:46:07 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=YLY8K4JAd9i9hkG4XK+nEONRnmj7dXy3ssCpW/hpiHg=; b=fsRoIo34yyhwhQKEdr3dXtKsVh1WJDXghsUyYmymUgDp6ooQroQ6lGwGbrcx70nVuUSc bpNuqvPhPy3KWactK5mZN+lG7xulo2jJwx2LEmgY4wBIUTa7nvMaHPFPrkAXXAAM94S6 mFq7tCMJrUMfVEDzPs7yjy1DDSMjCGe3oZWxMIuh88hRB5ucBW0O0qdO60sNEB96/hXb UUzgA92guS6WIGzvp9vrs8DGyoZRMxXE6ADQC3QMR9IO/m9WD3zUphDm4LTrs3DweLnt rloxCf1gHObadLs8cOG0SET+aSx3Nr4MbTYhKiuC/Qd3QitYuHbLxBjA3chFyu2Bmve4 IQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2sj7h0tkvu-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 May 2019 17:46:07 +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 090E138; Tue, 21 May 2019 15:46:07 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DD2C72CE6; Tue, 21 May 2019 15:46:06 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.46) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 21 May 2019 17:46:06 +0200 Received: from localhost (10.201.23.31) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 21 May 2019 17:46:06 +0200 From: Erwan Le Ray To: Greg Kroah-Hartman , Jiri Slaby , Maxime Coquelin , "Alexandre Torgue" CC: , , , , "Erwan Le Ray" , Fabrice Gasnier Subject: [PATCH 0/7] usart various fixes for STM32 Date: Tue, 21 May 2019 17:45:40 +0200 Message-ID: <1558453547-22866-1-git-send-email-erwan.leray@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.201.23.31] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-21_03:, , signatures=0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org This series delivers fixes in various uart functions of stm32-usart driver. Erwan Le Ray (7): serial: stm32: fix word length configuration serial: stm32: fix rx error handling serial: stm32: fix rx data length when parity enabled serial: stm32: fix transmit_chars when tx is stopped serial: stm32: Add support of TC bit status check serial: stm32: fix wakeup source initialization serial: stm32: fix the get_irq error case drivers/tty/serial/stm32-usart.c | 221 ++++++++++++++++++++++++++------------- drivers/tty/serial/stm32-usart.h | 14 +-- 2 files changed, 152 insertions(+), 83 deletions(-) -- 1.9.1