]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix non-DP-D eDP backlight cleanup and module reload
authorJani Nikula <jani.nikula@intel.com>
Fri, 12 Oct 2012 07:33:05 +0000 (10:33 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 12 Oct 2012 08:59:12 +0000 (10:59 +0200)
commite3d2331d763903c9772baf21d3b247da4101fa78
treee705a609412cc8eec3dd8fc99117aedbcff59ae1
parent5c72dafd4914cba139eb39ef94c2ef23ffca6ea1
drm/i915: fix non-DP-D eDP backlight cleanup and module reload

Backlight is initialized for eDP, but cleaned up only for eDP on DP-D
port. This leaves behind a dangling backlight interface on module unload on
machines that have eDP connected to something other than DP-D, and breaks
the backlight interface for subsequent module reloads. Fix the cleanup, and
thus module reload on affected machines.

Reported-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Tested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c