diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-21 15:39:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-27 01:29:01 +0200 |
commit | 53a92ba7e3762154df01c4f4f5d871df0587c96b (patch) | |
tree | f16e31ee92a4798099227f818c284529787f23a2 /scripts/coccinelle | |
parent | 3cc6919bd61315ea60baf95f3f9868aacfd1ace4 (diff) |
ACPI / video: Unregister the backlight device if a raw one shows up later
When video.use_native_backlight=1 and non intel gfx are in use, the raw
backlight device of the gfx driver will show up after acpi-video has done its
acpi_video_verify_backlight_support() check.
This causes video.use_native_backlight=1 to not have the desired result.
This patch fixes this by adding a backlight notifier and when a raw
backlight is registered or unregistered re-doing the
acpi_video_verify_backlight_support() check.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions