diff options
author | Aaron Lu <aaron.lu@intel.com> | 2014-09-30 10:10:17 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-30 22:49:19 +0400 |
commit | 0b8db271f1592e118feef7300f6da85bea9366da (patch) | |
tree | 1701b43f8b4b9a557719b753d04797917390085b /drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c | |
parent | a11d342fb89aedec5003d116e7427d43cbba714d (diff) | |
download | linux-0b8db271f1592e118feef7300f6da85bea9366da.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c')
0 files changed, 0 insertions, 0 deletions