diff options
author | Stefan Agner <stefan@agner.ch> | 2014-10-06 16:25:21 +0200 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2014-10-06 16:25:21 +0200 |
commit | c646b0f4fdad4cc9dabdcbe40b5a893d173e2850 (patch) | |
tree | 246e0d7bc48137f2d176ad126cebd275a60b6833 /drivers/iio/inkern.c | |
parent | 4ce237b369eb9513c090d3c97e0c06c5a33f0cf7 (diff) | |
parent | bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9 (diff) |
Merge tag 'v3.17' into toradex_vf_3.17-next
Linux 3.17
Conflicts:
Documentation/devicetree/bindings/usb/mxs-phy.txt
drivers/usb/phy/phy-mxs-usb.c
Diffstat (limited to 'drivers/iio/inkern.c')
-rw-r--r-- | drivers/iio/inkern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index c7497009d60a..f0846108d006 100644 --- a/drivers/iio/inkern.c +++ b/drivers/iio/inkern.c @@ -178,7 +178,7 @@ static struct iio_channel *of_iio_channel_get_by_name(struct device_node *np, index = of_property_match_string(np, "io-channel-names", name); chan = of_iio_channel_get(np, index); - if (!IS_ERR(chan)) + if (!IS_ERR(chan) || PTR_ERR(chan) == -EPROBE_DEFER) break; else if (name && index >= 0) { pr_err("ERROR: could not get IIO channel %s:%s(%i)\n", |