summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-u300/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-u300/clock.c b/arch/arm/mach-u300/clock.c
index d6f8232757ff..5cd04d6751b3 100644
--- a/arch/arm/mach-u300/clock.c
+++ b/arch/arm/mach-u300/clock.c
@@ -682,7 +682,7 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
} else {
printk(KERN_ERR "clock: Failed to set %s to %ld hz\n",
clk->name, rate);
- return -1;
+ return -EINVAL;
}
}
EXPORT_SYMBOL(clk_set_rate);
OpenPOWER on IntegriCloud