Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed31b2df authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] make U300 clk_set_rate() return a _real_ errno



Another stupid instance of "return -1"-ism.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent f7a9a4d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);