Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/platform/x86
Henrique de Moraes Holschuh 122f26726b thinkpad-acpi: find ACPI video device by synthetic HID
The Linux ACPI core locates the ACPI video devices for us and marks them
with ACPI_VIDEO_HID.  Use that information to locate the video device
instead of a half-baked hunt for _BCL.

This uncouples the detection of the number of backlight brightness
levels on ThinkPads from the ACPI paths in vid_handle.

With this change, the driver should be able to always detect whether the
ThinkPad uses a 8-level or 16-level brightness scale even on newer
models for which the vid_handle paths have not been updated yet.

It will skip deactivated devices in the ACPI device tree, which is a
change in behaviour.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2010-08-16 11:54:47 -04:00
..
acer-wmi.c acer-wmi: remove non-used acer_quirks struct definition 2010-08-03 09:49:04 -04:00
acerhdf.c acerhdf: fix resource reclaim in error path 2010-08-03 09:49:01 -04:00
asus-laptop.c asus-laptop: fix asus_input_init error path 2010-08-03 09:49:11 -04:00
asus_acpi.c drivers/platform/x86: Adjust confusing if indentation 2010-08-16 11:54:20 -04:00
classmate-laptop.c classmate-laptop: make needlessly global symbols static 2010-08-03 09:48:59 -04:00
compal-laptop.c compal-laptop/fujitsu-laptop/msi-laptop: make dmi_check_cb to return 1 instead of 0 2010-08-03 09:48:57 -04:00
dell-laptop.c dell-laptop: make dell_laptop_i8042_filter() static 2010-08-03 09:49:11 -04:00
dell-wmi.c dell-wmi: fix a memory leak 2010-08-03 09:48:53 -04:00
eeepc-laptop.c eeepc-laptop: fix hotplug_disabled module_param permissions 2010-08-03 09:49:05 -04:00
eeepc-wmi.c drivers/platform/x86/eeepc-wmi.c: fix build warning 2010-05-20 09:46:24 -04:00
fujitsu-laptop.c fujitsu-laptop: make needlessly global symbols static 2010-08-03 09:49:00 -04:00
hp-wmi.c hp-wmi: acpi_drivers.h is already included through acpi.h two lines below 2010-08-03 09:49:12 -04:00
ideapad_acpi.c ideapad: Only allow camera state to be set to 0 or 1 2010-08-11 18:00:52 +01:00
intel_ips.c intel_ips: potential null dereference 2010-08-16 11:54:29 -04:00
intel_menlow.c intel_menlow: fix memory leaks in error path 2010-08-03 09:48:40 -04:00
intel_pmic_gpio.c gpio: Add PMIC GPIO block support 2010-08-03 09:49:09 -04:00
intel_rar_register.c rar: Move the RAR driver into the right place as its now clean 2010-08-03 09:48:50 -04:00
intel_scu_ipc.c intel_scu_ipc: fix size field for intel_scu_ipc_command 2010-08-03 09:50:33 -04:00
Kconfig Add Lenovo ideapad driver 2010-08-11 00:01:21 +01:00
Makefile Add Lenovo ideapad driver 2010-08-11 00:01:21 +01:00
msi-laptop.c msi-laptop: make struct rfkill_ops const 2010-08-03 09:49:00 -04:00
msi-wmi.c msi-wmi: make needlessly global symbols static 2010-08-03 09:49:10 -04:00
panasonic-laptop.c panasonic-laptop: fix acpi_pcc_write_sset return value 2010-08-03 09:49:05 -04:00
sony-laptop.c sony-laptop: use platform_device_unregister in sony_pf_remove 2010-08-03 09:48:53 -04:00
tc1100-wmi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
thinkpad_acpi.c thinkpad-acpi: find ACPI video device by synthetic HID 2010-08-16 11:54:47 -04:00
topstar-laptop.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
toshiba_acpi.c toshiba-acpi: Add support for Toshiba Illumination. 2010-08-03 09:49:10 -04:00
toshiba_bluetooth.c ACPI: replace acpi_integer by u64 2010-01-28 01:47:33 -05:00
wmi.c X86 platform driver: Fix section mismatch in wmi.c 2010-08-03 09:49:07 -04:00