diff options
author | Harry Wentland <[email protected]> | 2019-02-07 15:12:35 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-02-07 17:22:12 -0500 |
commit | 0461221316ec21e0a535a35fba3feb6ba75706e6 (patch) | |
tree | 68224e9fb3786fd302e8710063ac81e2811175ec /scripts/gdb/linux/config.py | |
parent | 7fbd31cceac0596c46394ea8745fe09b98d6ed79 (diff) |
drm/amd/display: Check hpd_gpio for NULL before accessing it
dal_gpio_open and dal_gpio_unlock_pin dereference hpd_gpio.
Check for NULL before calling those functions.
Fixes: ac627caf6b9275a ("drm/amd/display: add gpio lock/unlock")
Reported-by: Przemek Socha <[email protected]>
CC: Chiawen Huang <[email protected]>
CC: Tony Cheng <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Tested-by: Alex Deucher <[email protected]>
Signed-off-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions