diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-02 06:19:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-21 16:15:52 +0300 |
commit | cdf92a0aee97b6e8c92db99ae4cdf250dffe6692 (patch) | |
tree | 5f9e3330ffb7403dcaa88be19414f29d996f4ccb /drivers/hid | |
parent | b0e82f95fded729dc63336819cd0ba43d250612f (diff) | |
download | linux-cdf92a0aee97b6e8c92db99ae4cdf250dffe6692.tar.xz |
PCI: tegra194: Fix PM error handling in tegra_pcie_config_ep()
[ Upstream commit e8fbd344a5ea62663554b8546b6bf9f88b93785a ]
pm_runtime_enable() will increase power disable depth. If
dw_pcie_ep_init() fails, we should use pm_runtime_disable() to balance it
with pm_runtime_enable().
Add missing pm_runtime_disable() for tegra_pcie_config_ep().
Fixes: c57247f940e8 ("PCI: tegra: Add support for PCIe endpoint mode in Tegra194")
Link: https://lore.kernel.org/r/20220602031910.55859-1-linmq006@gmail.com
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions