From patchwork Thu Apr 11 22:02:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 10896989 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B4E8139A for ; Thu, 11 Apr 2019 22:04:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 877B62860A for ; Thu, 11 Apr 2019 22:04:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85D7F28C2C; Thu, 11 Apr 2019 22:04:53 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 425D42860A for ; Thu, 11 Apr 2019 22:04:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbfDKWE0 (ORCPT ); Thu, 11 Apr 2019 18:04:26 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:45065 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726629AbfDKWEZ (ORCPT ); Thu, 11 Apr 2019 18:04:25 -0400 Received: by mail-lf1-f66.google.com with SMTP id t11so1387376lfl.12; Thu, 11 Apr 2019 15:04:24 -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 :mime-version:content-transfer-encoding; bh=C0g4W32KpOFEIBf/b/mgiwGkgi29MbSE0goELOf/fPg=; b=VgWIZrIAUDoOKW+DXqMPzdrKiZFpXiFpG/YOM/Vg+z4ehUonO2RG7mffYfnwFNqvXx HtsBbEOkjoe8H6xxzdc3DpZVJPYTIlCmT1UzLmM0G1jx5t74fHt4qtPi6Fptx3Wxl19s AAPaxtzV1OQVwBogAVJP5/hx5Rs/5StM0uK4ZL69OE/2PMfO9DzRLTQa8OikiO+F4LGV 4Tw8DZjBQVgRfUV217u4FRGTf2/G6Y0n2YoKYVxPQ4ChwfdDy0pUfMJ68ISaKroZtmUS 2vUGgxlVoWvxCwC806KJ4uAmuG2H8Ecrw5rDXzes9x1LxUBsQqKg5MOccIn7FOE1MFAl 6Y4A== 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:mime-version:content-transfer-encoding; bh=C0g4W32KpOFEIBf/b/mgiwGkgi29MbSE0goELOf/fPg=; b=QiD9qCWNtBoMW6Z9lhM5ksN1vGRkzXkjppXfrDTIbauclu5t/02v0PEJP/XMawwhE5 V4ytsBgnn9Ypml2k/KEvMmkuZTFPeFC4UH9O7eQRvvOpCmVFLObW7TIumjtvvGpM1KvQ 1vDK8+gAsg8aJQeQlyIciehjEzZmP2TyIy1LUk4dZpNquZlpHxYSpKQEtL+DRUOHATx5 TIVyMbhcePZdB2ntgWFXrTUvtoKmUefvZrg2ml9SdHxM2N9F8J0n8hXAqlG/9y6KyPkp Ipn8eji8VC/0UDquqLPP5rRMt8zH9wkLCXRUpiYWITEDntWGlMYv4VRL7qj/prkGZ7H+ A9FA== X-Gm-Message-State: APjAAAVnPOOrPcue6WqoGVJmWQO28qOnq4V/AOa8vtNQOK88kTqDK8IK gQKki8E3N079Gb8cz0117J5DNTMq X-Google-Smtp-Source: APXvYqw1rom/1R9Vw5aZrrc8EANBM2736XvxHrLCus65r0gBONHcX4rwaIVWxb81tTFF/qH1PteNXQ== X-Received: by 2002:ac2:51d9:: with SMTP id u25mr1459238lfm.91.1555020263548; Thu, 11 Apr 2019 15:04:23 -0700 (PDT) Received: from localhost.localdomain (ppp94-29-35-107.pppoe.spdop.ru. [94.29.35.107]) by smtp.gmail.com with ESMTPSA id e18sm7887808ljb.12.2019.04.11.15.04.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 15:04:22 -0700 (PDT) From: Dmitry Osipenko To: Peter De Schrijver , Prashant Gaikwad , Michael Turquette , Stephen Boyd , Thierry Reding , Jonathan Hunter , Joseph Lo Cc: linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/5] clk: tegra: emc: Don't enable EMC clock manually Date: Fri, 12 Apr 2019 01:02:26 +0300 Message-Id: <20190411220230.21726-2-digetx@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190411220230.21726-1-digetx@gmail.com> References: <20190411220230.21726-1-digetx@gmail.com> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The EMC clock marked as critical, hence it is already enabled at the registration time. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-emc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/tegra/clk-emc.c b/drivers/clk/tegra/clk-emc.c index 0621a3a82ea6..23416982e7c7 100644 --- a/drivers/clk/tegra/clk-emc.c +++ b/drivers/clk/tegra/clk-emc.c @@ -532,7 +532,5 @@ struct clk *tegra_clk_register_emc(void __iomem *base, struct device_node *np, /* Allow debugging tools to see the EMC clock */ clk_register_clkdev(clk, "emc", "tegra-clk-debug"); - clk_prepare_enable(clk); - return clk; };