drm/i915/lspcon: Fail LSPCON probe if the start of DPCD can't be read
authorImre Deak <imre.deak@intel.com>
Mon, 24 Oct 2016 16:33:28 +0000 (19:33 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 26 Oct 2016 09:41:00 +0000 (12:41 +0300)
commit24e807e79f103cd9e7799eed704ed6916915d65a
treecb923f7c2857241b23eefb867871828a75b2574c
parent7b3fc170d6a6ac1d1622178a2db317671cb89b9c
drm/i915/lspcon: Fail LSPCON probe if the start of DPCD can't be read

All types of DP devices (eDP, DP sink, DP branch) will fail their probe
if the start of DPCD can't be read. The LSPCON PCON functionality also
depends on accessing this area, so fail the probe if the read fails.

Cc: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1477326811-30431-6-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lspcon.c