diff options
author | David Galiffi <David.Galiffi@amd.com> | 2019-11-07 17:18:20 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-05 18:16:37 -0500 |
commit | a51d9f8fe756beac51ce26ef54195da00a260d13 (patch) | |
tree | 1f038b8bf47c6359fb585f4bca10d115104bdee0 /fs/jfs/jfs_txnmgr.h | |
parent | 1653acd566a846647adc293209f823b3e552e974 (diff) |
drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle
[Why]
In dc_link_is_dp_sink_present, if dal_ddc_open fails, then
dal_gpio_destroy_ddc is called, destroying pin_data and pin_clock. They
are created only on dc_construct, and next aux access will cause a panic.
[How]
Instead of calling dal_gpio_destroy_ddc, call dal_ddc_close.
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs/jfs/jfs_txnmgr.h')
0 files changed, 0 insertions, 0 deletions