diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2016-10-05 10:33:31 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2016-11-01 23:14:58 +0300 |
commit | bb789cd12cfc314458f8bd24548dbda3e683bc26 (patch) | |
tree | 7606e7af19ff3a0a98cd8833c7aa7decb8c8357d /drivers/firmware/arm_scpi.c | |
parent | 761d0efee839cf8cf0710f61f43f77026e5a77d8 (diff) | |
download | linux-bb789cd12cfc314458f8bd24548dbda3e683bc26.tar.xz |
firmware: arm_scpi: increase MAX_DVFS_OPPS to 16 entries
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>
Diffstat (limited to 'drivers/firmware/arm_scpi.c')
-rw-r--r-- | drivers/firmware/arm_scpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c index 9e9b022450eb..21542a32ad9f 100644 --- 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) |