summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pci/ti-pci.txt
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-09-01 01:55:10 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-09-18 12:13:14 +0300
commit6e5da6f7d82474e94c2d4a38cf9ca4edbb3e03a0 (patch)
tree3839092f405814849f33da32c7037e69d15bba5f /Documentation/devicetree/bindings/pci/ti-pci.txt
parent0ee2c1f2429f74328c82ea559b127c96d5224ccd (diff)
downloadlinux-6e5da6f7d82474e94c2d4a38cf9ca4edbb3e03a0.tar.xz
PCI: qcom: Fix error handling in runtime PM support
The driver does not cope with the fact that probe can fail in a number of cases after enabling runtime PM on the device; this results in warnings about "Unbalanced pm_runtime_enable". Furthermore if probe fails after invoking qcom_pcie_host_init() the power-domain will be left referenced. As it is not possible for the error handling in qcom_pcie_host_init() to handle errors happening after returning from that function the pm_runtime_get_sync() is moved to qcom_pcie_probe() as well. Fixes: 854b69efbdd2 ("PCI: qcom: add runtime pm support to pcie_port") Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pci/ti-pci.txt')
0 files changed, 0 insertions, 0 deletions