drm/amd/display: Add NULL check for local sink in edp_power_control
authorYue Hin Lau <Yuehin.Lau@amd.com>
Wed, 27 Jun 2018 17:49:20 +0000 (13:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:51:28 +0000 (14:51 -0500)
commit6c4fff068f7940993b3ec74a9996f4b514089d1a
treeefd734e017c54883ec32e4632a52200cdf05f666
parentc2c09ed5cd1b7423b2d2bf372e4c62394264324d
drm/amd/display: Add NULL check for local sink in edp_power_control

[WHY]
PNP cause bsod regression fix

[HOW]
Add NULL check

Signed-off-by: Yue Hin Lau <Yuehin.Lau@amd.com>
Reviewed-by: Hugo Hu <Hugo.Hu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c