From patchwork Sun Jun 4 08:35:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Rapha=C3=ABl_Gallais-Pou?= X-Patchwork-Id: 13266513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B06CBC7EE23 for ; Sun, 4 Jun 2023 08:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Gi9Z+qTANeQ0vQZca6UicVsu+3crVAfJWj1bwQUg4Ls=; b=qyHwpiZS5cMESt Rsm2hn/hnTw+EkfSaJup7R8zQTytFnH313tJ9VgSMOOBEoC5rGDctviKa2k3FeiR6FLIi8ZzBixXe dgFmeULGj8CMtpBaB1ZqyxpZWlHgp867+0g4WQtheSzUcf5axM60/AXUjI1/yCZWM2R/XZbrAHBoa XyZJQb5V4JhYA4voAzAb+oJz0nbjle62w+Bqt9vofi9HKyvQHB+NF6J3PkkfShpOg7Szlg4MlKtlA 4q/+XABx3dGUjM1AeRWHkKac/w0dxLVc/RRHDkOim5F0ukUH32kjmVBoj1Ru8KzEXrdDoEclbMtqG ToCd9jFIOBRhBzwFqimA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5jAP-00BdSE-1B; Sun, 04 Jun 2023 08:32:49 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5jAM-00BdRA-2b for linux-arm-kernel@lists.infradead.org; Sun, 04 Jun 2023 08:32:48 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3f7353993cbso4792665e9.0 for ; Sun, 04 Jun 2023 01:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685867564; x=1688459564; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hoNSr+a8hKeak/jlvIJQdpZkUkH6J7s10yAW9PEDstY=; b=pNj3Oyg+/a18FAg4qCfrZlPrEdtNVXSOpymnHw+UFQB5bgOKFCv/+OCZA92njKoeF6 +96kOqySqt6TrFNnIgeXgo5N/bcZf+dnoZNu2E4qbTJFp/iJUXK/hVd1d0Pk6eIIXYxS KFBtC3EMnY8eTOgtau+cvFnr+Qwt/YtXNrv0NmoAONZh52YCr4kIoOKQVhXFYeZYzl1N fL1sQZu+nn/zpeh7mN7VzUYxCs4w6krjc1xxC/HvISxOPDu07ShsBhHC+Jcp08WeYXzk qTA+6yGqnm/6ARoYGMlyR8ClohjVk64R6dkh1CekouBdneJmNgb9th4kbzW7qHWIylKu cJfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685867564; x=1688459564; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hoNSr+a8hKeak/jlvIJQdpZkUkH6J7s10yAW9PEDstY=; b=eyHvBKc0w/NJpCc4MWdycWkrRmumhLd70yGp1dVHu1a0TcxaGwAqVaiRxfPeF/ONms z5Nh27hq9wzP7sHb7fyoLc/EHgZz7o4SNNgQKQkkOcX28gct96ivHcEZ7ftICOtjBvIc 8mMVlWB8yUDfS1JqmGsgmkSatQLi2Uezj/Iz0YSVVLJtJ4m4osog/5Yz/fKQ9/peBNmV lfzTHGgolqh9BRyJaFF6CSk3FPBCWcS+0aCafIgRFlxmBmZGgygu+MYESkumkcYoNhzF B0a8rtDSVEXAJ8wPd8PcgUkJffQDecZKwzAFzGPf4GalaFkGaJ71i1VsdaK0vPd5JeD6 4uQw== X-Gm-Message-State: AC+VfDyiSNBhs3q7dC1RKq2lKMiXeSbs+UiAR5OX09/uWRc/5pSm+rNL etwTUMx+bYHEzQZZQOZx2Ak= X-Google-Smtp-Source: ACHHUZ7hlAQTqglbbeUTEkcdqQMatfDQIzDzIU2717+u3LLOMIUrwME1wrk1VRzF4edNoByT7MCRzw== X-Received: by 2002:a05:600c:c0c:b0:3f6:11e2:b971 with SMTP id fm12-20020a05600c0c0c00b003f611e2b971mr5155835wmb.20.1685867563427; Sun, 04 Jun 2023 01:32:43 -0700 (PDT) Received: from localhost ([2a01:e0a:32f:1f0:ae0b:3bc8:c743:b2d8]) by smtp.gmail.com with ESMTPSA id n11-20020a7bcbcb000000b003f60d0eef36sm10762188wmi.48.2023.06.04.01.32.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 01:32:42 -0700 (PDT) From: Raphael Gallais-Pou To: Patrice Chotard , Greg Kroah-Hartman , Jiri Slaby Cc: linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] serial: st-asc: fix typo in property name Date: Sun, 4 Jun 2023 10:35:58 +0200 Message-Id: <20230604083558.16661-1-rgallaispou@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230604_013246_846305_9727DDA9 X-CRM114-Status: GOOD ( 12.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Changes the property name read in the driver according to the YAML. According to device-tree documentation, property names should not include underscores. Signed-off-by: Raphael Gallais-Pou Reviewed-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 5215e6910f68..6ef99a037a9b 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c @@ -754,7 +754,7 @@ static struct asc_port *asc_of_get_asc_port(struct platform_device *pdev) asc_ports[id].hw_flow_control = of_property_read_bool(np, "uart-has-rtscts"); - asc_ports[id].force_m1 = of_property_read_bool(np, "st,force_m1"); + asc_ports[id].force_m1 = of_property_read_bool(np, "st,force-m1"); asc_ports[id].port.line = id; asc_ports[id].rts = NULL;