mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user