mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
drm/rockchip: 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:
parent
283fd1016a
commit
0e601b1acb
|
|
@ -429,7 +429,7 @@ static int rockchip_dp_remove(struct platform_device *pdev)
|
|||
|
||||
static const struct dev_pm_ops rockchip_dp_pm_ops = {
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
.suspend = analogix_dp_suspend,
|
||||
.suspend_late = analogix_dp_suspend,
|
||||
.resume_early = analogix_dp_resume,
|
||||
#endif
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user