OSDN Git Service

drm/i915/sdvo: ignore returned broken edid on intel_sdvo_tmds_sink_detect
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Thu, 3 Aug 2023 14:35:30 +0000 (17:35 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Fri, 4 Aug 2023 13:12:20 +0000 (16:12 +0300)
commit90c0756a5e8ef3664ee924ff82131de7b53dc6a2
tree1f13312356e6d80d8479c49ad6f646ce56b0c098
parentd823445b09a2f1c43877b87a55fc699c3a836fc2
drm/i915/sdvo: ignore returned broken edid on intel_sdvo_tmds_sink_detect

If drm_edid_raw returned NULL on error don't try accessing anything behind
that NULL

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230803143530.27601-1-juhapekka.heikkila@gmail.com
drivers/gpu/drm/i915/display/intel_sdvo.c