1
0
Fork 0
alistair23-linux/drivers/w1/masters
Gustavo A. R. Silva c89876dda0 w1: omap-hdq: fix error return code in omap_hdq_probe()
platform_get_irq() returns an error code, but the omap_hdq
driver ignores it and always returns -ENXIO. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly.
Notice that platform_get_irq() no longer returns 0 on error.

Print error message and propagate the return value of
platform_get_irq on failure.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 16:48:15 +02:00
..
Kconfig w1: mxc_w1: Enable driver compilation with COMPILE_TEST 2014-02-28 15:27:09 -08:00
Makefile
ds1wm.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
ds2482.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
ds2490.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
matrox_w1.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
mxc_w1.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
omap_hdq.c w1: omap-hdq: fix error return code in omap_hdq_probe() 2017-07-17 16:48:15 +02:00
w1-gpio.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00