linux-hardened/drivers/w1/masters
Uwe Kleine-König 0b336cea56 w1-gpio: handle of_get_gpio() returning -EPROBE_DEFER better
of_get_gpio() might return -EPROBE_DEFER meaning that the driver
providing the gpio isn't ready yet. If that happens for the first gpio
the resulting kernel output without this patch is:

	w1-gpio somename: Failed to parse DT
	platform somename: Driver w1-gpio requests probe deferral

The first message is misleading and so is suppressed with this patch.

Further if determining the gpio to switch the external pullup yields
-EPROBE_DEFER this error should be passed back to the caller instead of
just continuing without pullup.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-15 12:08:38 -08:00
..
ds1wm.c Revert ds1wm.c from "w1: hold bus_mutex in netlink and search" 2014-02-08 13:30:43 -08:00
ds2482.c w1: ds2482: Added 1-Wire pull-up support to the driver 2013-02-18 12:47:12 -08:00
ds2490.c w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Makefile w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
matrox_w1.c w1: remove use of __devexit 2012-11-21 12:42:25 -08:00
mxc_w1.c w1: mxc_w1: Check the clk_prepare_enable() return value 2013-12-08 22:41:48 -08:00
omap_hdq.c w1: omap-hdq: remove deprecated IRQF_DISABLED 2013-10-16 12:36:10 -07:00
w1-gpio.c w1-gpio: handle of_get_gpio() returning -EPROBE_DEFER better 2014-02-15 12:08:38 -08:00