2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/include/acpi
Aaron Lu 9f9cd7ee2c ACPI / Thermal / video: fix max_level incorrect value
commit 059500940d (ACPI/video: export acpi_video_get_levels)
mistakenly dropped the correct value of max_level and that caused the
set_level function following failed and the acpi_video backlight interface
didn't get created. Fix this by passing back the correct max_level value.

While at it, also fix the param used in acpi_video_device_lcd_query_levels
where acpi_handle is expected but acpi_video_device is passed.

Fixes: 059500940d (ACPI/video: export acpi_video_get_levels)
Reported-and-tested-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-05-30 13:53:09 +02:00
..
platform ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acbuffer.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acconfig.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acexcep.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acnames.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acoutput.h ACPICA: Utilities: Update trace mechinism for acquire_object 2016-03-08 22:56:21 +01:00
acpi_bus.h Merge branches 'acpi-scan', 'acpi-bus', 'acpi-osl' and 'acpi-pm' 2016-01-12 01:10:03 +01:00
acpi_drivers.h ACPI: Remove FSF mailing addresses 2015-07-08 02:27:32 +02:00
acpi_io.h ACPI: fix acpi_os_ioremap for arm64 2015-03-25 11:49:30 +00:00
acpi_lpat.h ACPI / LPAT: Common table processing functions 2015-01-29 21:02:10 +08:00
acpi_numa.h ACPI / numa: Make __acpi_map_pxm_to_node(), acpi_get_pxm() static 2014-02-03 10:39:38 -07:00
acpi.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acpiosxf.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acpixf.h ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
acrestyp.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl1.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl2.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl3.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actbl.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actypes.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acuuid.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
apei.h acpi, apei, ghes: Factor out ioremap virtual memory for IRQ and NMI context. 2014-07-22 15:05:06 -07:00
button.h ACPI: Eliminate CONFIG_.*{, _MODULE} #ifdef in favor of IS_ENABLED() 2015-09-15 03:05:45 +02:00
cppc_acpi.h ACPI / CPPC: remove redundant mbox_send_message() declaration 2016-02-03 01:09:52 +01:00
ghes.h ACPICA: Restore error table definitions to reduce code differences between Linux and ACPICA upstream. 2014-06-16 22:33:50 +02:00
hed.h ACPI Hardware Error Device (PNP0C33) support 2010-05-19 22:40:24 -04:00
pdc_intel.h ACPI: Enable bit 11 in _PDC to advertise hw coord 2009-02-07 00:41:14 -05:00
processor.h ACPI / sleep: move acpi_processor_sleep to sleep.c 2016-02-22 00:53:56 +01:00
reboot.h Add the ability to reset the machine using the RESET_REG in ACPI's FADT table. 2008-07-16 23:27:08 +02:00
video.h ACPI / Thermal / video: fix max_level incorrect value 2016-05-30 13:53:09 +02:00