]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
firmware: arm_scpi: increase MAX_DVFS_OPPS to 16 entries
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 5 Oct 2016 07:33:31 +0000 (09:33 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 1 Nov 2016 20:14:58 +0000 (14:14 -0600)
Since Amlogic SoCs supports more than 8 OPPs per domains, we need increase
the OPP structure size.

This patch increases the MAX_DVFS_OPPS to 16.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scpi.c

index 9e9b022450eb510a899189fe4ef21227f4fc7662..21542a32ad9fc1d1e1a8d1b011b112b61ec06124 100644 (file)
@@ -63,7 +63,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)