From patchwork Mon Mar 5 15:00:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 10259203 Return-Path: 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 C096B60134 for ; Mon, 5 Mar 2018 15:01:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE69828AB4 for ; Mon, 5 Mar 2018 15:01:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2ED628AB7; Mon, 5 Mar 2018 15:01:42 +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 [198.137.202.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 2557B28AB4 for ; Mon, 5 Mar 2018 15:01:42 +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:References:In-Reply-To: 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=q3cz0YWENE2T1v1N8CvGyFIx08s8zQBbppaOaBIu7Lw=; b=TNUDOwIQTMgGFK GMxzvUT9ier3RX3qd8GUBOWQ/5cVvl2czr166i7TekL2Y32VQVqOKqNyQDu5Dd7YZYT7hm2//Stfo ioZjBi/evVqdb15z9MCvPTd/e8IYBwv9R+iDx6bRXvkHGcEk2MNcSi+1hvBXsNG5T27rsTU+ZHWqX u2oEHpbvImRfNNUPhvvxWO5TIMFOSmZBO86VVW2XkcHDmnpmuuZDktUp0bDMj3JuE3natn8PBU8C9 EdvJbW0Ep9qRA3yoOLv8Z3grD/VWQu5B5I1WYrvzcgANxhH+Iq7OgiNS6EjMPnHhGGr8DT/cTTUbs yaXxmvWUTemPG797pahg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1esrcN-0002rV-Ao; Mon, 05 Mar 2018 15:01:35 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1esrc9-0002co-FO for linux-arm-kernel@lists.infradead.org; Mon, 05 Mar 2018 15:01:31 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w25Ex2SX018579; Mon, 5 Mar 2018 16:00:52 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2gfkfj30y2-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 05 Mar 2018 16:00:52 +0100 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 EA84A38; Mon, 5 Mar 2018 15:00:51 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D110A1211; Mon, 5 Mar 2018 15:00:51 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 5 Mar 2018 16:00:51 +0100 From: To: , , , , , , , , Subject: [PATCH 2/2] tty: st-asc: Convert tty alias in lowercase Date: Mon, 5 Mar 2018 16:00:25 +0100 Message-ID: <1520262025-21088-3-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1520262025-21088-1-git-send-email-patrice.chotard@st.com> References: <1520262025-21088-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE3.st.com (10.75.127.15) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-03-05_06:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180305_070122_579841_CFB40142 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: patrice.chotard@st.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must include only lowercase and '-'. After having converted all STi boards serial aliases in lowercase, st-asc driver need to be updated accordingly as tty aliases id is retrieved using of_alias_get_id(np, ASC_SERIAL_NAME); Signed-off-by: Patrice Chotard --- drivers/tty/serial/st-asc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index c763253514e9..8d2167759258 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -29,7 +29,7 @@ #include #define DRIVER_NAME "st-asc" -#define ASC_SERIAL_NAME "ttyAS" +#define ASC_SERIAL_NAME "ttyas" #define ASC_FIFO_SIZE 16 #define ASC_MAX_PORTS 8