Commit ff763ac
drm/amd/display: Clear HDMI HPD pending work only if it is enabled
commit 17b2c52 upstream.
[Why&How]
On amdgpu_dm_connector_destroy(), the driver attempts to cancel pending
HDMI HPD work without checking if the HDMI HPD is enabled.
Added a check that it is enabled before clearing it.
Fixes: 6a681cd ("drm/amd/display: Add an hdmi_hpd_debounce_delay_ms module")
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 5566ebc commit ff763ac
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7548 | 7548 | | |
7549 | 7549 | | |
7550 | 7550 | | |
7551 | | - | |
7552 | | - | |
7553 | | - | |
7554 | | - | |
| 7551 | + | |
| 7552 | + | |
| 7553 | + | |
| 7554 | + | |
| 7555 | + | |
| 7556 | + | |
7555 | 7557 | | |
7556 | 7558 | | |
7557 | 7559 | | |
| |||
0 commit comments