projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce4eac
)
spi/fsl-espi: fix the return value judgment of irq_of_parse_and_map.
author
Hou Zhiqiang
<b48286@freescale.com>
Wed, 11 Dec 2013 05:09:40 +0000
(13:09 +0800)
committer
Mark Brown
<broonie@linaro.org>
Wed, 11 Dec 2013 11:06:53 +0000
(11:06 +0000)
Signed-off-by: Hou Zhiqiang <b48286@freescale.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-fsl-espi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-espi.c
b/drivers/spi/spi-fsl-espi.c
index 80d8f40f7e0553d600f1e36b018daa7fae275a64..8106006cdc39e5da4dae382122e5acbd19d1699b 100644
(file)
--- a/
drivers/spi/spi-fsl-espi.c
+++ b/
drivers/spi/spi-fsl-espi.c
@@
-705,7
+705,7
@@
static int of_fsl_espi_probe(struct platform_device *ofdev)
goto err;
irq = irq_of_parse_and_map(np, 0);
- if (!
ret
) {
+ if (!
irq
) {
ret = -EINVAL;
goto err;
}