msm: clock-8960: Map voltage level 'NONE' to 0 Volts for vdd_dig
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-8960.c b/arch/arm/mach-msm/clock-8960.c
index 5bd125b..a574875 100644
--- a/arch/arm/mach-msm/clock-8960.c
+++ b/arch/arm/mach-msm/clock-8960.c
@@ -487,7 +487,8 @@
static int msm8960_update_sys_vdd(enum sys_vdd_level level)
{
static const int vdd_uv[] = {
- [NONE...LOW] = 945000,
+ [NONE] = 0,
+ [LOW] = 945000,
[NOMINAL] = 1050000,
[HIGH] = 1150000,
};