diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-03-07 12:32:21 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-11 12:21:47 -0600 |
commit | 25de15c958e98747c7dada3983474bd4b8ae381b (patch) | |
tree | d23aebaee8b22fede7ee157716d6acda59a11136 /arch/microblaze | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | op-kernel-dev-25de15c958e98747c7dada3983474bd4b8ae381b.zip op-kernel-dev-25de15c958e98747c7dada3983474bd4b8ae381b.tar.gz |
PCI: keystone: Defer probing if devm_phy_get() returns -EPROBE_DEFER
A SerDes PHY is optional, so if devm_phy_get() doesn't find one at all,
that's fine. But if devm_phy_get() finds a PHY that doesn't have a driver
yet, it returns -EPROBE_DEFER. In that case, defer probing the Keystone
driver. We may be able to load it later after a PHY driver is loaded.
[bhelgaas: changelog, check for -EPROBE_DEFER first]
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions