diff options
author | Jammy Huang <jammy_huang@aspeedtech.com> | 2023-05-30 12:12:40 +0800 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-05-31 13:04:07 +0200 |
commit | bed61c8fc7ba17d0f259c674137a5198fd2e3334 (patch) | |
tree | 59cf48a561c2ce8aa29653759877773c4205c330 /drivers/rtc/rtc-ds1343.c | |
parent | e79d85c6c217221ea32354a5ac0587a7ccea02b9 (diff) |
drm/ast: Fix long time waiting on s3/s4 resume
In resume, DP's launch function, ast_dp_launch, could wait at most 30
seconds before timeout to check if DP is enabled. It could lead to 'DPM
device timeout' and trigger unrecoverable kernel panic.
To avoid this problem, we check if DP enable or not at driver probe only.
Reported-and-tested-by: Wendy Wang <wendy.wang@intel.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217278
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230530041240.13427-1-jammy_huang@aspeedtech.com
Diffstat (limited to 'drivers/rtc/rtc-ds1343.c')
0 files changed, 0 insertions, 0 deletions