mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: analogix_dp: use suspend_late matching the resume_early
Sometimes, we would abort suspend work before it finished. In this case, suspend work would try to resume the part suspended by correspond resume functions. But the suspend/resume functions are not matched in rockchip. When the suspend work is aborted, it would ignored resuming this part due to can't find correspond resume functions. So, let's use suspend_late instead of suspend. Change-Id: I7304f7963704de7e870fbd4e76ebe1e0066f18c1 Signed-off-by: zain wang <wzz@rock-chips.com>
This commit is contained in:
@@ -436,7 +436,7 @@ static int rockchip_dp_resume(struct device *dev)
|
||||
|
||||
static const struct dev_pm_ops rockchip_dp_pm_ops = {
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
.suspend = rockchip_dp_suspend,
|
||||
.suspend_late = rockchip_dp_suspend,
|
||||
.resume_early = rockchip_dp_resume,
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user