aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-ipq40xx/clock-ipq4019.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ipq40xx/clock-ipq4019.c b/arch/arm/mach-ipq40xx/clock-ipq4019.c
index ac2b830353..7308563ad1 100644
--- a/arch/arm/mach-ipq40xx/clock-ipq4019.c
+++ b/arch/arm/mach-ipq40xx/clock-ipq4019.c
@@ -26,7 +26,7 @@ ulong msm_set_rate(struct clk *clk, ulong rate)
/* This clock is already initialized by SBL1 */
return 0;
default:
- return 0;
+ return -EINVAL;
}
}
@@ -56,7 +56,7 @@ static int msm_enable(struct clk *clk)
/* This clock is already initialized by SBL1 */
return 0;
default:
- return 0;
+ return -EINVAL;
}
}