Aaron Lu 0b8db271f1 ACPI / video: check _DOD list when creating backlight devices
The _DOD method lists which video output device is currently attached so
we should only care about them and ignore others. An user recently
reported that there are two acpi_video interfaces appeared on his system
and one of them doesn't work. From the acpidump, it is found that there
are more than one video output devices that have _BCM control method but
the _DOD lists only one of them. So this patch checks if the video output
device is in the _DOD list and will not create backlight device if it is
not in the list. Also, we consider the broken _DOD case(reflected by the
video->attached_count is 0) and do not change behaviour for those broken
_DOD systems.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=84111
Reported-and-tested-by: ntrrgc@gmail.com
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-09-30 20:49:19 +02:00
..
2014-08-05 22:50:12 +02:00
2013-09-30 19:46:13 +02:00
2014-06-03 23:11:52 +02:00
2014-07-21 13:50:58 +02:00
2014-02-05 01:06:21 +01:00
2013-12-07 01:38:45 +01:00
2013-01-17 14:11:06 +01:00
2014-05-26 14:38:57 +02:00