From patchwork Mon Jun 25 00:12:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10484955 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 00BB36023A for ; Mon, 25 Jun 2018 00:13:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E556D28829 for ; Mon, 25 Jun 2018 00:13:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D98CB28866; Mon, 25 Jun 2018 00:13:04 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85CCB28829 for ; Mon, 25 Jun 2018 00:13:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752369AbeFYANC (ORCPT ); Sun, 24 Jun 2018 20:13:02 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:40802 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752087AbeFYAMn (ORCPT ); Sun, 24 Jun 2018 20:12:43 -0400 Received: by mail-io0-f195.google.com with SMTP id g22-v6so10839845iob.7; Sun, 24 Jun 2018 17:12:43 -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=qg2Tz9BugYev0CKfM/R+JRuSgpV5EEdNamjTEeuyA7E=; b=XJ1OdwQcsJvQJSZFf9WIWrZwTdvU8Czqu4etFAL5VEJdCldbt0n57k/mKxAVZZi+Oq 6/UK3XM/gcG1mryuvBhf2E4i+Gc5+GL6wtZKs695RFQiGMJo8sSCkghOlecoTk1MVr6C sXNMueM4bxs13NL6onoQgbHeeT7qFNrFY8PnbRxVmqYggCK9xooOBsH3fmWdV//+hFsu 3rU8q6+7YmBiH/z/atNTPCREJaZN2UcUMzSfjdw7PClz/pB6vAHixbBxTZp9ZZPUEd+m ScN4uz0V+IGM2m5cF/zO2+q+TuVxjE4BlqtgG/wV1ZX3OzCfqzNxy5zKlQ3s3Va4ssnP PSfA== 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=qg2Tz9BugYev0CKfM/R+JRuSgpV5EEdNamjTEeuyA7E=; b=Jo5vtY3LsIGmQmPSaUWM2R/I8jpAKIUZuAGOPcHe+C2NO1Bw8+SlCeyeSk3AVsPY6y t3B5+GttEwQ+mPhKXJqkawRwyYTzgSsUM579EF+Idvj5VenGn/bMs6Xn2gQqv5Ag64jS FWHYequLtsjQnwEnQM3J/7u7o3q4KEvSujuK0mzO8gT/P2kzTbnOlyaQUsva17ACq+8B KSBuBpT8+wt+MgjCXIyyJjLO+WVUrc8EhqXAdZKf1r6/wHQqciVtyffDB/rQeSvE348X 3aoOR669Ogpxhn5bMTnW/4SP5MWH1LmHpjA2go3e7tRzZmj9wKtXDUU2M/Hiah0UObuf bYlQ== X-Gm-Message-State: APt69E34kmu43ijqZrBUFWObNE/6w+0e2eOuWUygXF0WMH5aI5FzmMeS bq9aPPzKQi6+Mzk1MEo4jVo= X-Google-Smtp-Source: AAOMgpc/xM5zSTNYmh655sKYgSALu2RL2B6B0epfsqjsDiYUATeapZZSERso/PNP+FJbwyMWIyTgPw== X-Received: by 2002:a6b:274f:: with SMTP id n76-v6mr8913739ion.259.1529885562804; Sun, 24 Jun 2018 17:12:42 -0700 (PDT) Received: from localhost.localdomain (c-75-73-34-135.hsd1.mn.comcast.net. [75.73.34.135]) by smtp.gmail.com with ESMTPSA id g191-v6sm3290340itg.0.2018.06.24.17.12.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jun 2018 17:12:42 -0700 (PDT) From: Adam Ford To: adam.ford@logicpd.com Cc: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, b-liu@ti.com, gregkh@linuxfoundation.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, Adam Ford Subject: [RFC 2/5] usb: musb: am35x: Match clock assignements to hwmods Date: Sun, 24 Jun 2018 19:12:30 -0500 Message-Id: <20180625001233.9785-3-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180625001233.9785-1-aford173@gmail.com> References: <20180625001233.9785-1-aford173@gmail.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There are two clocks that fail when attempting to use them. This patch patches the clock names to match those in hwmods. Signed-off-by: Adam Ford diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index a55db15a8457..56f8e13f4c1b 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c @@ -455,14 +455,14 @@ static int am35x_probe(struct platform_device *pdev) if (!glue) goto err0; - phy_clk = clk_get(&pdev->dev, "fck"); + phy_clk = clk_get(&pdev->dev, "hsotgusb_fck"); if (IS_ERR(phy_clk)) { dev_err(&pdev->dev, "failed to get PHY clock\n"); ret = PTR_ERR(phy_clk); goto err3; } - clk = clk_get(&pdev->dev, "ick"); + clk = clk_get(&pdev->dev, "hsotgusb_ick"); if (IS_ERR(clk)) { dev_err(&pdev->dev, "failed to get clock\n"); ret = PTR_ERR(clk);