git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130b82c
)
spi: spi-imx: Check the return value from clk_prepare_enable()
author
Fabio Estevam
<fabio.estevam@freescale.com>
Thu, 11 Jul 2013 04:26:49 +0000
(
01:26
-0300)
committer
Mark Brown
<broonie@linaro.org>
Mon, 15 Jul 2013 10:37:56 +0000
(11:37 +0100)
clk_prepare_enable() may fail, so let's check its return value and propagate it
in the case of error.
While at it, fix the order of clk_disable_unprepare calls: clk_ipg should be
disabled first, followed by clk_per.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
No differences found