commit | a4ace4fa20072dfe60ab48ba227e50bc2d69c246 | [log] [tgz] |
---|---|---|
author | Leonard Crestez <leonard.crestez@nxp.com> | Thu Jan 31 14:59:56 2019 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Jan 31 15:01:01 2019 -0600 |
tree | cf983b3c4fb89f3ea13e98865ffce4910656350d | |
parent | a6093ad7fc4962099d2d723bcca72f8175b58c82 [diff] |
PCI: imx: Fix checking pd_pcie_phy device link addition The check on the device_link_add() return value is wrong; this leads to erroneous code execution, so fix it. Fixes: 3f7cceeab895 ("PCI: imx: Add multi-pd support") Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>