Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6629759yba; Wed, 1 May 2019 16:43:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6/qxRWRvC8nOiXCt/h4sbY2JEBP5MlhFMajO/pdBNAw0UaoW9tskXAI7B6wUhRYHMwe/5 X-Received: by 2002:a63:e52:: with SMTP id 18mr733317pgo.3.1556754196274; Wed, 01 May 2019 16:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556754196; cv=none; d=google.com; s=arc-20160816; b=YSC8YrSF5K1JeWfC6+V42xXjvMWklgrdLf8S1xfv3/+AFcCEnmLHL0kQk5LR0n7lQH oYWkqYuN6G18r28uhdbGykOYP/jHYF4yB4LzVbSaTJQK0zTN4Do+xyZONaDJJepkuGHI kxhgcOCYWg+HDsiMLf0E2Du+ybz2JH/e43ozFu6L05PikQiIS1Hj+cw1Tf1TNLpRsUDm hY/xDmOXDuKogA5Vyg+XMJxMnxxuShe/8qy/MQhzkAyrJ409PivNggJhMaRhu09d2LLQ wYiXvSz41gVs9jaC1yA4dzCBELryq1x2Sb4ynzlelJ7OCv37XX6BEqGlNYpOxosuiGTg VGIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hT2F8IjKIQoszn6Buk6j3BScSUALq9H2lCvIgZ7MA44=; b=0gOn55wH1kXkL9G1wCgHKtZl3YifFhdMOt93SG7wJ62zVbrUI8Uo05XgKp/vRoh2pA eavC1Wkxsu+UKJcxmldotYG3lF7sa5uAcqY66bG5FYTHaYunapV/BN0/bR7gb+FZGMRX xN37s+XMfjUUkO176vdaRjISLJco5ewHcwvXQl12xgDdjwM/HHo15ISCUhDy9/xIc4IA JWPTbJr9nMYUD7hqnpozmfEp2U64OKFe1hR9vqpvAXd48WUzeyS1gjiVtaZoJLFEfBxO nmieLngJNiLY6cLmyph2OE6sRdD/CN6A7bP5vFI1E8rMm4xSb3TC4cbikD5vh+2vNSho ig1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qI4SpIkw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w127si16964306pfb.83.2019.05.01.16.43.01; Wed, 01 May 2019 16:43:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qI4SpIkw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726387AbfEAXl5 (ORCPT + 99 others); Wed, 1 May 2019 19:41:57 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:37346 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726371AbfEAXly (ORCPT ); Wed, 1 May 2019 19:41:54 -0400 Received: by mail-it1-f194.google.com with SMTP id r85so360789itc.2; Wed, 01 May 2019 16:41:53 -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=hT2F8IjKIQoszn6Buk6j3BScSUALq9H2lCvIgZ7MA44=; b=qI4SpIkw8aSy2zSnENGPxKIvXxF9LC3SnVRuQ1yCmAj2zoYH4XtNemCE4SeBfR2SwQ yKiF3+bTOOGYVjr9ddSA96gwJc+8TB/NKaGsvS7NjsYMUtlTb7QG9AXjLEI20YsKdaX/ Ju0QILLqIa5S1DIUySEe+9oqtIx5MCXwp59J1JhhgirKB2UgO4RiLxm+3YJu/hBDXqWc qD1zheW85alvSgrJ/nkkYsrzpU2El9dX8AhvDa8B29fLdf4xJe9E+f8R3SJHPXIlOgjH iHUcztEclsNEg6IePqqqYZz+P60KxIlJ8mR1/2Q/NWI6GJfu8b+uISUSrQPHo8FFe5b3 YIEQ== 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=hT2F8IjKIQoszn6Buk6j3BScSUALq9H2lCvIgZ7MA44=; b=Wmt7eLnKsN24B6EjNzb7MO6qkVtBeP05li0EfDQuv7BU4bphfgyrBQXo3Q915GkU7K NjHke7CIXTm6CPnKcs3T3PDlgUWKmAEuuNiyzRRmcU5NZ9F2K5XjmStHRk/TMD7dujaf N8qcCwTjvY5u7W7otMXrE1YzqZQiqqmRfNYzb/aFNZgPWP5g6od9nFoyVPTF7mm5vcAu ZeTLPLiG9a59OtLh2Mrd6xpIN4OFPAT4C4hjNJGr25zVvjTsCfzSEmZq/H7RvpyR049M qVQ4fQ5bESObn1pE6KNJtWA+yg+nO3pq39bsbXPJE/m/4b/KmPcMK40Yl7vZIbk9jnAV MiLw== X-Gm-Message-State: APjAAAXOGXN40LP5qXgmMt8Chr/JxhgPCKAHmkPafr+uyeftKv0XYOKi o/Qkj1Yhghk3Oo/jdsc7ptQ= X-Received: by 2002:a02:ad07:: with SMTP id s7mr282942jan.103.1556754113467; Wed, 01 May 2019 16:41:53 -0700 (PDT) Received: from localhost.localdomain (ppp94-29-35-107.pppoe.spdop.ru. [94.29.35.107]) by smtp.gmail.com with ESMTPSA id m3sm2392507ion.69.2019.05.01.16.41.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 May 2019 16:41:53 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Tomeu Vizoso Cc: linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 05/16] PM / devfreq: tegra: Don't set EMC clock rate to maximum on probe Date: Thu, 2 May 2019 02:38:04 +0300 Message-Id: <20190501233815.32643-6-digetx@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190501233815.32643-1-digetx@gmail.com> References: <20190501233815.32643-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no real benefit from doing so, hence let's drop that rate setting for consistency. Reviewed-by: Chanwoo Choi Signed-off-by: Dmitry Osipenko --- drivers/devfreq/tegra-devfreq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c index c7428c5eee23..24ec65556c39 100644 --- a/drivers/devfreq/tegra-devfreq.c +++ b/drivers/devfreq/tegra-devfreq.c @@ -653,8 +653,6 @@ static int tegra_devfreq_probe(struct platform_device *pdev) return PTR_ERR(tegra->emc_clock); } - clk_set_rate(tegra->emc_clock, ULONG_MAX); - tegra->rate_change_nb.notifier_call = tegra_actmon_rate_notify_cb; err = clk_notifier_register(tegra->emc_clock, &tegra->rate_change_nb); if (err) { -- 2.21.0