From patchwork Wed Dec 2 21:19:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Gamari X-Patchwork-Id: 7753381 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D76FCBEEE1 for ; Wed, 2 Dec 2015 21:32:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 186DD2053F for ; Wed, 2 Dec 2015 21:32:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D4412054C for ; Wed, 2 Dec 2015 21:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756895AbbLBVcX (ORCPT ); Wed, 2 Dec 2015 16:32:23 -0500 Received: from mail.smart-cactus.org ([54.187.36.80]:50838 "EHLO mail.smart-cactus.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757302AbbLBV3Y (ORCPT ); Wed, 2 Dec 2015 16:29:24 -0500 Received: from localhost.localdomain (HSI-KBW-149-172-43-78.hsi13.kabel-badenwuerttemberg.de [149.172.43.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: ben@smart-cactus.org) by mail.smart-cactus.org (Postfix) with ESMTPSA id DC44D64B79; Wed, 2 Dec 2015 21:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.smart-cactus.org; s=mail; t=1449090499; bh=ELOpJ339MhCpFsH3zyR6C8j0N9c2GAo6pJKzEcVMOog=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h2zCZKI5w3uV4LGd6SObVBazr5svfpS/kK9rODwV9EftKBxYWh4bzTOUnkHmRFgoD K2vFNq7Drh7bGbu4Jj5RDMYL4dMV+m7Eq2sCRe29JPc7EH3RIB0RWpEs/faUfMf9eB pyuw4eu5eJG0x3wpZf9kys2/cbrlfFR4ca67Fbyg= From: Ben Gamari To: Thomas Abraham , Sylwester Nawrocki , Michael Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar , Krzysztof Kozlowski Cc: Tomasz Figa , Lukasz Majewski , Heiko Stuebner , Chanwoo Choi , Kevin Hilman , Javier Martinez Canillas , Tobias Jakobi , Anand Moon , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, Ben Gamari , Javier Martinez Canillas Subject: [PATCH 12/12] cpufreq: arm-big-little: warn on invalid regulator Date: Wed, 2 Dec 2015 22:19:27 +0100 Message-Id: <1449091167-20758-13-git-send-email-ben@smart-cactus.org> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1449091167-20758-1-git-send-email-ben@smart-cactus.org> References: <1449091167-20758-1-git-send-email-ben@smart-cactus.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cc: Javier Martinez Canillas Signed-off-by: Ben Gamari --- drivers/cpufreq/arm_big_little.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c index 2d5761c..5d30c26 100644 --- a/drivers/cpufreq/arm_big_little.c +++ b/drivers/cpufreq/arm_big_little.c @@ -158,6 +158,9 @@ bL_cpufreq_set_rate_cluster(u32 cpu, u32 cluster, u32 new_rate_kHz) volt_old = regulator_get_voltage(reg[cluster]); pr_debug("%s: cpu %d, cluster: %d, Found OPP: %ld kHz, %ld uV\n", __func__, cpu, cluster, opp_freq / 1000, volt); + } else { + pr_err("%s: cpu %d, cluster: %d, Have no regulator\n", + __func__, cpu, cluster); } pr_debug("%s: cpu %d, cluster: %d, %u MHz, %ld mV --> %u MHz, %ld mV\n",