aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2013-04-12 15:18:38 +0300
committerDaniel Vetter <[email protected]>2013-04-18 09:43:23 +0200
commitdc652f90e088798bfa31f496ba994ddadd5d5680 (patch)
treebe9e4f7816a2316033e7dd5782ecd537ba8ccf2b /fs/jbd/commit.c
parentf7708f78bd51a46abf00ae22ebb1b7deb594fc62 (diff)
drm/i915: ensure single initialization and cleanup of backlight device
Backlight cleanup in the eDP connector destroy callback caused the backlight device to be removed on some systems that first initialized LVDS and then attempted to initialize eDP. Prevent multiple backlight initializations, and ensure backlight cleanup is only done once by moving it to modeset cleanup. A small wrinkle is the introduced asymmetry in backlight setup/cleanup. This could be solved by adding refcounting, but it seems overkill considering that there should only ever be one backlight device. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=55701 Signed-off-by: Jani Nikula <[email protected]> Tested-by: Peter Verthez <[email protected]> Cc: [email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions