diff options
author | Leonard Crestez <[email protected]> | 2019-01-31 14:59:50 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-01-31 14:59:50 -0600 |
commit | a6093ad7fc4962099d2d723bcca72f8175b58c82 (patch) | |
tree | 376959921140c9578622b5ecdcb9b33069e5d7d1 /net/lapb/lapb_in.c | |
parent | d2fd6e81912a665993b24dcdc1c1384a42a54f7e (diff) |
PCI: imx: Fix probe failure without power domain
On chips without a separate power domain for PCI (such as 6q/6qp) the
imx6_pcie_attach_pd() function incorrectly returns an error.
Fix by returning 0 if dev_pm_domain_attach_by_name() does not find
anything.
Fixes: 3f7cceeab895 ("PCI: imx: Add multi-pd support")
Reported-by: Lukas F.Hartmann <[email protected]>
Signed-off-by: Leonard Crestez <[email protected]>
[[email protected]: updated commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions