From patchwork Tue Mar 20 18:37:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 888393 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LqA4XdaD"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 405MBY6npcz9s0n for ; Wed, 21 Mar 2018 05:38:11 +1100 (AEDT) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iKpl49jopV+JZ875/zfCi0RMPgO+UtWnFqNBG4EGb74=; b=LqA4XdaD0QOt3Z pGLTXk+d6BsGPapxjseTOldfOftI+Z/2PtXQXSB8abSjZEWwH/SkU9No8cWdKZGJX3hNxA9WzqREm 0OH/uW3cLcO8cm5uZqbJlOGvYK8q6hVRF+i5yWd6DCsLprT9mwi0TtXzi7Bge1WTuel71yEjP0Eik qypOP2vIz9xt2GlJ8TdaZw/6bdQgdhS4uHm8w36cY2YQQv9nIIJnYTauLwz96y8xy1qliP/jxx8DF Sdfzu6zky6v3BKlEYuxfBW6vLtCObxEeWFezPtmN/yXhMlo1DQaZRkUxyb2kPOEaZaD5G+xy+Ss0K 5gbgCzvAk+S0a90q9RFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyM99-00072z-VK; Tue, 20 Mar 2018 18:38:07 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyM95-00071k-VF for linux-arm-kernel@lists.infradead.org; Tue, 20 Mar 2018 18:38:05 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C812B80D; Tue, 20 Mar 2018 11:37:51 -0700 (PDT) Received: from e107155-lin (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 96A973F487; Tue, 20 Mar 2018 11:37:50 -0700 (PDT) Date: Tue, 20 Mar 2018 18:37:48 +0000 From: Sudeep Holla To: ARM SoC Team Subject: [GIT PULL] firmware: ARM SCMI fixes for v4.17 Message-ID: <20180320183747.GB16362@e107155-lin> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180320_113804_028986_55B1C336 X-CRM114-Status: GOOD ( 13.04 ) X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.101.70 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , Sudeep Holla , ALKML , Arnd Bergmann , Kevin Hilman Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi ARM SoC Team, I have based this on the earlier/first SCMI pull request I sent for v4.17. Couple of build/static checker warnings were reported and also received a comment from clock maintainer to use new devm_* API. This PR contains patches addressing those. Please pull ! Regards, Sudeep --- The following changes since commit 02f208c5c60549039445402505dea284e15f0f4f: cpufreq: scmi: add support for fast frequency switching (2018-02-28 16:37:57 +0000) are available in the git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/scmi-fixes-4.17 for you to fetch changes up to 7f9badfceffc6d2ae331050f1cd155a633130437: clk: scmi: use devm_of_clk_add_hw_provider() API and drop scmi_clocks_remove (2018-03-20 16:23:26 +0000) ---------------------------------------------------------------- ARM SCMI fixes/cleanups for v4.17 Couple of fixes for build warning due to uninitialised variable and static checker warning for passing NULL pointer to PTR_ERR. It also contains cleanup suggested by Stephen Boyd in SCMI clock driver using the new devm_of_clk_add_hw_provider() API. ---------------------------------------------------------------- Anders Roxell (1): firmware: arm_scmi: prevent accessing rate_discrete uninitialized Sudeep Holla (2): hwmon: (scmi) return -EINVAL when sensor information is unavailable clk: scmi: use devm_of_clk_add_hw_provider() API and drop scmi_clocks_remove drivers/clk/clk-scmi.c | 12 ++---------- drivers/firmware/arm_scmi/clock.c | 5 +++-- drivers/hwmon/scmi-hwmon.c | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-)