drm/rockchip: analogix_dp: Move resume handling to NOIRQ phase

Fixes: 1a4c9d772a ("drm/bridge: analogix_dp: Rework irq handling")
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I8709ef94503a80e4c217f28b6d2855a2f4cedcd0
This commit is contained in:
Wyon Bi
2022-02-28 09:16:37 +08:00
committed by Tao Huang
parent 9f59662549
commit 877e7716c5
2 changed files with 1 additions and 3 deletions

View File

@@ -1991,7 +1991,6 @@ EXPORT_SYMBOL_GPL(analogix_dp_remove);
int analogix_dp_suspend(struct analogix_dp_device *dp)
{
disable_irq(dp->irq);
pm_runtime_force_suspend(dp->dev);
return 0;
@@ -2002,7 +2001,6 @@ int analogix_dp_resume(struct analogix_dp_device *dp)
{
pm_runtime_force_resume(dp->dev);
analogix_dp_init(dp);
enable_irq(dp->irq);
return 0;
}

View File

@@ -659,7 +659,7 @@ static __maybe_unused int rockchip_dp_runtime_resume(struct device *dev)
}
static const struct dev_pm_ops rockchip_dp_pm_ops = {
SET_SYSTEM_SLEEP_PM_OPS(rockchip_dp_suspend, rockchip_dp_resume)
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(rockchip_dp_suspend, rockchip_dp_resume)
SET_RUNTIME_PM_OPS(rockchip_dp_runtime_suspend,
rockchip_dp_runtime_resume, NULL)
};