]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move backlight unregistration to connector unregistration
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Jun 2016 10:40:34 +0000 (11:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 19 Jun 2016 08:39:13 +0000 (10:39 +0200)
commit0e05a4d7ab69fa87d4a123233591c115eda2806a
tree447abf3e696131fb83f200bdf3f5d468884869c9
parent45e3cb1969708f29ee0d088ae85a9b5070216289
drm/i915: Move backlight unregistration to connector unregistration

Currently the backlight is being unregistered in the unload phase (after
the display and its objects are unregistered). Move the backlight
unregistration into the analogous phase by performing it from the
connector unregistration, just prior to its deletion.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466160034-12173-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_panel.c