Message ID | 1471952816-30877-5-git-send-email-narmstrong@baylibre.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> 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 1BECC607D0 for <patchwork-linux-amlogic@patchwork.kernel.org>; Tue, 23 Aug 2016 11:48:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EB0D28C13 for <patchwork-linux-amlogic@patchwork.kernel.org>; Tue, 23 Aug 2016 11:48:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03ADA28C18; Tue, 23 Aug 2016 11:48:27 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B263828C13 for <patchwork-linux-amlogic@patchwork.kernel.org>; Tue, 23 Aug 2016 11:48:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcABo-0002zs-8l; Tue, 23 Aug 2016 11:48:20 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcAAv-0002Th-2F for linux-amlogic@lists.infradead.org; Tue, 23 Aug 2016 11:47:28 +0000 Received: by mail-wm0-x231.google.com with SMTP id i5so191071728wmg.0 for <linux-amlogic@lists.infradead.org>; Tue, 23 Aug 2016 04:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o0aRpUjvPu2eed2EHWOVnIR+ywGT9ccP83e3pGqGWfk=; b=KAvM5I3vbsqDicxKWoxvFWoIR7JwHN0Duzepqk+LpDCldg5SqBM4NVTMC0izvwN01e Cbx792oW7V3p08o17gXI417w7uceSqeGftCakFugs92jrsd6v5683dhnAhg4ezrUOnJF M5V/XUlqUf89k7IXD8W4beHgDoMK0tAlqcv4tLA9R4gYw8zDorUBXoCmvBMMBTbrdDkg sb8I0NddVFg2gWuGxOQKAgtgCjoDX9wujckd23po7mpUCghMIneoo/AGtqz+LiQbn9oz lqRz/mhieNOX/0a3gcewFe6PmSg+SnUXA09J6+Gv9W3i65+h6QbgpYIFLjrMifGKuKam IJ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o0aRpUjvPu2eed2EHWOVnIR+ywGT9ccP83e3pGqGWfk=; b=CpBfTMTU1KL7DAaj+et+86eR4UmHuEQuXTWTFwkP9xFj+TnBgQc6Foo1+j9iYUkbjM fvdMZd9Gl6N3crbufYH4dgHnNWn6sBjg1cBxN22SiLVCX87Zp6sNM5O7DsO7bNwFdYMu SaBdW9VLuXU/PXIvJLD6BBU9EYhuKitjPPQR+7O3kO5p/vD4TA5CR3Xv0AlsPHvOnPWu NbjiF7ZL8HjQouiJUVNAzPf6g2Yh+sgjfVYVX2U+GOZn/HkeVLle+ZiVvwfibXckQ+sb 55Lc8cTkwfZxabdSRZpn01MQ0xCimpMfJcOtw5mVEUiJK/CVyIUq/+9fwpqJRVdDhVRQ HAng== X-Gm-Message-State: AEkoout83C1sCQN8P7Ypg/VPtAyajQ5tKvVg6r9fn6BgFduSARI/qbLDiIapqBmc03AuLbSD X-Received: by 10.28.150.10 with SMTP id y10mr18920304wmd.112.1471952823641; Tue, 23 Aug 2016 04:47:03 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id jq5sm3375338wjc.20.2016.08.23.04.47.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Aug 2016 04:47:03 -0700 (PDT) From: Neil Armstrong <narmstrong@baylibre.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sudeep.holla@arm.com Subject: [PATCH v2 4/7] scpi: grow MAX_DVFS_OPPS to 16 entries Date: Tue, 23 Aug 2016 13:46:53 +0200 Message-Id: <1471952816-30877-5-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471952816-30877-1-git-send-email-narmstrong@baylibre.com> References: <1471952816-30877-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160823_044725_519306_57A44782 X-CRM114-Status: UNSURE ( 8.82 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: heiko@sntech.de, Neil Armstrong <narmstrong@baylibre.com>, frank.wang@rock-chips.com, khilman@baylibre.com, linux-amlogic@lists.infradead.org, wxt@rock-chips.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c index badef70..d654b62 100644 --- a/drivers/firmware/arm_scpi.c +++ b/drivers/firmware/arm_scpi.c @@ -68,7 +68,7 @@ #define SCPI_SLOT 0 #define MAX_DVFS_DOMAINS 8 -#define MAX_DVFS_OPPS 8 +#define MAX_DVFS_OPPS 16 #define DVFS_LATENCY(hdr) (le32_to_cpu(hdr) >> 16) #define DVFS_OPP_COUNT(hdr) ((le32_to_cpu(hdr) >> 8) & 0xff)
Since Amlogic SoCs reports more than 8 OPPs per domains, grow the structure size to 16. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- drivers/firmware/arm_scpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)