projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761d0ef
)
firmware: arm_scpi: increase MAX_DVFS_OPPS to 16 entries
author
Neil Armstrong
<narmstrong@baylibre.com>
Wed, 5 Oct 2016 07:33:31 +0000
(09:33 +0200)
committer
Sudeep 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/firmware/arm_scpi.c
b/drivers/firmware/arm_scpi.c
index 9e9b022450eb510a899189fe4ef21227f4fc7662..21542a32ad9fc1d1e1a8d1b011b112b61ec06124 100644
(file)
--- a/
drivers/firmware/arm_scpi.c
+++ b/
drivers/firmware/arm_scpi.c
@@
-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)