drm/i915: Fix cap check for intel_dp_aux_backlight driver
authorPuthikorn Voravootivat <puthik@chromium.org>
Thu, 11 May 2017 23:02:17 +0000 (16:02 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 12 May 2017 12:47:08 +0000 (15:47 +0300)
commita644ca9bcdac3b9e9f0fd2726c9198e85cecfbee
treed3f6c9d8612f8c1b9c6b3a9a6a69f615b2f05a99
parent1f23475c893a85c934143cd64865ebb9b6af383f
drm/i915: Fix cap check for intel_dp_aux_backlight driver

intel_dp_aux_backlight driver should check for the
DP_EDP_BACKLIGHT_BRIGHTNESS_AUX_SET_CAP before enable the driver.

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170511230225.142870-2-puthik@chromium.org
drivers/gpu/drm/i915/intel_dp_aux_backlight.c