https://github.com/torvalds/linux
Revision a6093ad7fc4962099d2d723bcca72f8175b58c82 authored by Leonard Crestez on 31 January 2019, 20:59:50 UTC, committed by Bjorn Helgaas on 31 January 2019, 20:59:50 UTC
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 <lukas@mntmn.com>
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>
1 parent d2fd6e8
History
Tip revision: a6093ad7fc4962099d2d723bcca72f8175b58c82 authored by Leonard Crestez on 31 January 2019, 20:59:50 UTC
PCI: imx: Fix probe failure without power domain
Tip revision: a6093ad
File Mode Size
Kconfig -rw-r--r-- 247 bytes
Makefile -rw-r--r-- 991 bytes
af_llc.c -rw-r--r-- 31.2 KB
llc_c_ac.c -rw-r--r-- 35.4 KB
llc_c_ev.c -rw-r--r-- 21.3 KB
llc_c_st.c -rw-r--r-- 151.9 KB
llc_conn.c -rw-r--r-- 28.2 KB
llc_core.c -rw-r--r-- 4.1 KB
llc_if.c -rw-r--r-- 4.4 KB
llc_input.c -rw-r--r-- 5.9 KB
llc_output.c -rw-r--r-- 2.3 KB
llc_pdu.c -rw-r--r-- 10.6 KB
llc_proc.c -rw-r--r-- 6.0 KB
llc_s_ac.c -rw-r--r-- 5.9 KB
llc_s_ev.c -rw-r--r-- 3.5 KB
llc_s_st.c -rw-r--r-- 5.7 KB
llc_sap.c -rw-r--r-- 11.4 KB
llc_station.c -rw-r--r-- 3.2 KB
sysctl_net_llc.c -rw-r--r-- 1.8 KB

back to top