drm/i915: check the return value of intel_dp_i2c_init
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 12 Jun 2013 20:27:28 +0000 (17:27 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 28 Jun 2013 12:14:19 +0000 (14:14 +0200)
commitb2a1475561d59e8d182ba8cc4b7e78b662a3f533
tree3a8db2a125855f443af31e633a7b0bb4c2fcf31e
parent15b1d171d87e86366266255462e6b11d21b61c1c
drm/i915: check the return value of intel_dp_i2c_init

We've been ignoring this return value, so print a nice backtrace in
case it's not what we expected.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Zoltan Nyul <zoltan.nyul@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c