summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2832_priv.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-02-13 23:05:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 12:08:38 -0800
commit0b336cea56ccd9949dc9bd6f24bd3bb9d212ffad (patch)
tree95c6420fd909f80c06f2463b831b08d1d68dfb41 /drivers/media/dvb-frontends/rtl2832_priv.h
parentc9afbb05a9ffbef0976242ab1135af6814ccff0f (diff)
downloadblackbird-obmc-linux-0b336cea56ccd9949dc9bd6f24bd3bb9d212ffad.tar.gz
blackbird-obmc-linux-0b336cea56ccd9949dc9bd6f24bd3bb9d212ffad.zip
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>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832_priv.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud