]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: qcom: add runtime pm support to pcie_port
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 23 May 2018 10:44:25 +0000 (11:44 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 23 May 2018 15:32:21 +0000 (16:32 +0100)
commitcfa02dcce4b64ce8284f0ea1803ef38f9c434b99
tree41d8be2aca13c97f68fcd44980f70911596d5a47
parent0a35fd38227aef6c2abfc38be8844825723a5106
PCI: qcom: add runtime pm support to pcie_port

This patch is required when the pcie controller sits on a bus with
its own power domain and clocks which are controlled via a bus driver
like simple pm bus. As these bus driver have runtime pm enabled, it makes
sense to update the usage counter so that the runtime pm does not suspend
the clks or power domain associated with the bus driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/dwc/pcie-qcom.c