linux_dsm_epyc7002/drivers/platform/x86
AceLan Kao 6e0044bedc asus-wmi: store backlight power status for AIO machine
Due to some implementation reasons, ASUS ET2012 All-in-One machines
can't report the correct backlight power status, it will always return
1. To track the backlight power status correctly, we have to store the
status by ourselves.

BTW, by the BIOS design, the backlight power will be turn on/off
sequently, no matter what the value of the parameter will be.
More over, the brightness adjustment command will turn on the backlight
power. Those behaviors will make us fail to track the backlight power
status.
For example, While we are trying to turn on the backlight power,
we will send out the brightness adjustment command and then trying to
figure out if we have to turn on the backlight power, then send out
the command. But, the real case is that, the backlight power turns on
while sending the brightness adjustment command, and then we send out
the command to turn on the backlight power, it actually will turn off
the backlight power and the backlight power status we recorded becomes
wrong. So, we have to seperate these two commands by a if statement.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2012-03-26 15:05:43 -04:00
..
acer-wmi.c acer-wmi: support Lenovo ideapad S205 Brazos wifi switch 2012-03-26 15:05:30 -04:00
acerhdf.c acerhdf: Message logging neatening 2012-03-20 12:02:14 -04:00
amilo-rfkill.c x86: Add amilo-rfkill driver for some Fujitsu-Siemens Amilo laptops 2012-03-12 09:56:47 -04:00
apple-gmux.c platform/x86: Add driver for Apple gmux device 2012-03-26 15:05:25 -04:00
asus-laptop.c asus-laptop: add some keys found on Lenovo SL500 2012-03-20 12:02:18 -04:00
asus-nb-wmi.c asus-wmi: add scalar board brightness adj. support 2012-03-26 15:05:41 -04:00
asus-wmi.c asus-wmi: store backlight power status for AIO machine 2012-03-26 15:05:43 -04:00
asus-wmi.h asus-wmi: store backlight power status for AIO machine 2012-03-26 15:05:43 -04:00
classmate-laptop.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
compal-laptop.c compal-laptop: switch to using use MODULE_DEVICE_TABLE 2012-03-20 12:02:01 -04:00
dell-laptop.c dell-laptop: touchpad LED should persist its status after S3 2012-03-20 12:02:23 -04:00
dell-wmi-aio.c dell: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
dell-wmi.c dell-wmi: Add keys for Dell XPS L502X 2011-08-05 15:21:47 -04:00
eeepc-laptop.c eeepc-laptop: log unknown keys 2012-03-20 12:02:15 -04:00
eeepc-wmi.c asus-wmi: store backlight power status for AIO machine 2012-03-26 15:05:43 -04:00
fujitsu-laptop.c fujitsu-laptop: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
fujitsu-tablet.c Fujitsu tablet extras driver 2012-03-12 09:57:52 -04:00
hdaps.c hdaps: trivial fix for -Wuninitialized 2012-03-20 12:02:25 -04:00
hp_accel.c Merge branch 'akpm' (Andrew's incoming) 2011-10-31 17:46:07 -07:00
hp-wmi.c hp-wmi: fix use after free 2011-07-11 09:52:35 -04:00
ibm_rtl.c asm-generic: architecture independent readq/writeq for 32bit environment 2012-02-21 16:47:28 -08:00
ideapad-laptop.c switch ->is_visible() to returning umode_t 2012-01-03 22:54:55 -05:00
intel_ips.c asm-generic: architecture independent readq/writeq for 32bit environment 2012-02-21 16:47:28 -08:00
intel_ips.h drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_menlow.c switch sysfs attr->mode to umode_t 2012-01-03 22:54:55 -05:00
intel_mid_powerbtn.c intel_mid_powerbtn: use MSIC read/write instead of ipc_scu 2012-03-20 12:02:26 -04:00
intel_mid_thermal.c platform-x86: intel_mid_thermal: turn off thermistor voltage by default 2012-03-20 12:02:20 -04:00
intel_oaktrail.c intel-oaktrail: switch to using use MODULE_DEVICE_TABLE 2012-03-20 12:02:02 -04:00
intel_pmic_gpio.c intel_pmic_gpio: Convert printks to pr_<level> 2011-05-27 12:35:50 -04:00
intel_scu_ipc.c intel_scu_ipc: Remove Moorestown support 2012-03-20 12:02:02 -04:00
intel_scu_ipcutil.c intel_scu_ipc: Remove Moorestown support 2012-03-20 12:02:02 -04:00
Kconfig platform/x86: Add driver for Apple gmux device 2012-03-26 15:05:25 -04:00
Makefile platform/x86: Add driver for Apple gmux device 2012-03-26 15:05:25 -04:00
msi-laptop.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
msi-wmi.c x86: fix up files really needing to include module.h 2011-10-31 19:30:36 -04:00
mxm-wmi.c mxm/wmi: add MXMX interface entry point. 2011-05-09 11:40:38 +10:00
panasonic-laptop.c panasonic-laptop: avoid overflow in acpi_pcc_hotkey_add() 2012-03-12 10:25:51 -04:00
samsung-laptop.c samsung-laptop: cleanup return type: mode_t vs umode_t 2012-03-26 15:05:39 -04:00
samsung-q10.c platform-drivers-x86: samsung-q10: make dmi_check_callback return 1 2011-08-05 15:21:47 -04:00
sony-laptop.c to fix scancodes returned by sony-laptop driver 2012-03-20 12:02:03 -04:00
tc1100-wmi.c tc1100-wmi: Add pr_fmt, use pr_<level> 2011-05-27 12:35:51 -04:00
thinkpad_acpi.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
topstar-laptop.c topstar-latop: ignore 0x82 event 2011-10-24 16:52:37 +02:00
toshiba_acpi.c toshiba_acpi: Refuse to load on machines with buggy INFO implementations 2012-03-22 09:31:53 -04:00
toshiba_bluetooth.c toshiba: Convert printks to pr_<level> 2011-05-27 12:35:52 -04:00
wmi.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
xo1-rfkill.c platform-drivers-x86: convert drivers/platform/x86/* to use module_platform_driver() 2012-03-20 12:02:04 -04:00
xo15-ebook.c xo15-ebook: Use pr_<level> 2011-05-27 12:35:53 -04:00