projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: OMAP: use consistent error checking
[deliverable/linux.git]
/
arch
/
arm
/
mach-omap2
/
clock.c
diff --git
a/arch/arm/mach-omap2/clock.c
b/arch/arm/mach-omap2/clock.c
index e4ec3a69ee2e749b1d40b80065956f23b4424070..2191f25ad21b6f18153034e9de15aad273d2174b 100644
(file)
--- a/
arch/arm/mach-omap2/clock.c
+++ b/
arch/arm/mach-omap2/clock.c
@@
-596,7
+596,7
@@
int __init omap2_clk_switch_mpurate_at_boot(const char *mpurate_ck_name)
return -ENOENT;
r = clk_set_rate(mpurate_ck, mpurate);
- if (
IS_ERR_VALUE(r)
) {
+ if (
r < 0
) {
WARN(1, "clock: %s: unable to set MPU rate to %d: %d\n",
mpurate_ck_name, mpurate, r);
clk_put(mpurate_ck);
This page took
0.042183 seconds
and
5
git commands to generate.