Skip to content
Commit a6093ad7 authored by Leonard Crestez's avatar Leonard Crestez Committed by Bjorn Helgaas
Browse files

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: 3f7cceea ("PCI: imx: Add multi-pd support")
Reported-by: default avatarLukas F.Hartmann <lukas@mntmn.com>
Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
parent d2fd6e81
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment