From patchwork Wed Aug 2 09:34:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Gorski X-Patchwork-Id: 9876451 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 019C360360 for ; Wed, 2 Aug 2017 09:39:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9C2728794 for ; Wed, 2 Aug 2017 09:39:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7221287A6; Wed, 2 Aug 2017 09:39:54 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE 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 CA79D287A5 for ; Wed, 2 Aug 2017 09:39:53 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=WzqL3YgoA9QZXvoTvHl3QswELExZHKWAdFavXAddSSo=; b=npGHT48L9yS9536MG3qbRUMj7d futUB2pNXnbnteAiIG+SoTZ2ttgbujmNHxqteb5FS3rJqMx0kr5xXNQgizrFi0y/TelufV7o9Mb/u CbJg8f6/jyzZnXoghiSzW4ruEMtlyqlZr2UNh+QAOFt7wF3WUu6Vz9PZ36Jmi5HKhYVEXk4Oq37g4 y+r9t5y3qdwRrrrsQs0L5thLcqErpFsfvjnV0qbl+ca5lTj5AQm4JUgA7GU6oXFqGYRprxr5bQ3R8 ilRSPSOPcPjElKxEm7RKsU2noqIso+xqvHNoUNz7NUcrTqDhSp8KY34gN2rJ4F4vIU2E0f0VGVb4D /SPgYFmQ==; 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 1dcq7e-0002ZH-9s; Wed, 02 Aug 2017 09:39:22 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcq3x-0000FH-15 for linux-arm-kernel@lists.infradead.org; Wed, 02 Aug 2017 09:35:39 +0000 Received: by mail-wr0-x244.google.com with SMTP id g32so3220271wrd.5 for ; Wed, 02 Aug 2017 02:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y22cRhANdJfpGSPM2vXIcDIFeOdAE+jS9xz1NdH4yZk=; b=r1X+2oRoxIJdSVFY++YnSVRH8aijK1ScE+7ynn7rICdTkBZZll9SHNbhM0PpUwNwpO J3h+FtgTCd7wvimUHAVUh7iRt2vwH2J21Lf/cWU6pORrrMwJS0v0F7pCKZuR6hfmWCa7 pd8cbwO/F2hc89ve38d49wZnPSn0++iwDNOYkF+/Uu8HeO0DqOsTUQDoA7pKbttk0dOC ZsWF2RhDHH5xBgniWfWAM+aLQp+gnliL0nhaeK9Zk5g/nx2JypegKZX4ZPnEX5ybv8om h9MkDoxGWTtetwRacfcDHI3BqKEGOGEu1kgQ0W1rFR76zzu9e57oXyG1NCv3YirZnxmt sSxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=y22cRhANdJfpGSPM2vXIcDIFeOdAE+jS9xz1NdH4yZk=; b=pVcmPPzwP+x+kLGHPTY6mrmJTUIyfqAdF17m6xcWTm4pN/L+wOav+kRsj2rqe4KiJw 3a9jL4Pjh/6JrDSPDEuS8R5PpRN5KeVON6x8AHqiW+Zx9Db50itv957p1cg5fAVq527I LdSqreMtuqyTGkiwiot5lTHXHUbX8SZHBQ2PfgWcMVWvxXbO6xJIK0E6+0n/GCYanN5q zvz+UdXsbqpjJktwHEUqYCzJL3jwJVpUV17dFmIXrc9oxV04+kTc5MIeG1X5us3JbTfi BVy7tb9K+D7vcG0gAukj2nuvwke1c4LM/+hULOzviRshBtn0UjMiepHg14Nydqrf9+fK lT9w== X-Gm-Message-State: AIVw112SqqyZ9VcXmUcu3WR0zdvoqQNZrjcYGMr/Ybxn1xvG1xHL2YpZ N+yzsZYlwStvtg== X-Received: by 10.223.171.184 with SMTP id s53mr16049412wrc.75.1501666511146; Wed, 02 Aug 2017 02:35:11 -0700 (PDT) Received: from localhost.localdomain ([2001:470:9e39::48e]) by smtp.gmail.com with ESMTPSA id 91sm32058876wrg.83.2017.08.02.02.35.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 02:35:10 -0700 (PDT) From: Jonas Gorski To: linux-mips@linux-mips.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 3/8] tty/bcm63xx_uart: use refclk for the expected clock name Date: Wed, 2 Aug 2017 11:34:24 +0200 Message-Id: <20170802093429.12572-4-jonas.gorski@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170802093429.12572-1-jonas.gorski@gmail.com> References: <20170802093429.12572-1-jonas.gorski@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170802_023533_628450_C56C366E X-CRM114-Status: GOOD ( 10.38 ) 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: Mark Rutland , Florian Fainelli , Greg Kroah-Hartman , Kevin Cernekee , Russell King , Ralf Baechle , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Jiri Slaby , "David S. Miller" MIME-Version: 1.0 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 We now have the clock available under refclk, so use that. Signed-off-by: Jonas Gorski Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/bcm63xx_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 583c9a0c7ecc..a2b9376ec861 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c @@ -842,7 +842,7 @@ static int bcm_uart_probe(struct platform_device *pdev) return -ENODEV; clk = pdev->dev.of_node ? of_clk_get(pdev->dev.of_node, 0) : - clk_get(&pdev->dev, "periph"); + clk_get(&pdev->dev, "refclk"); if (IS_ERR(clk)) return -ENODEV;