tmp_suning_uos_patched/drivers/thermal/int340x_thermal
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
..
acpi_thermal_rel.c ACPI/int340x_thermal: enumerate INT340X devices even if they're not in _ART/_TRT 2015-01-06 08:17:06 +08:00
acpi_thermal_rel.h Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00
int340x_thermal_zone.c thermal: consistently use int for temperatures 2015-08-03 23:15:50 +08:00
int340x_thermal_zone.h thermal: consistently use int for temperatures 2015-08-03 23:15:50 +08:00
int3400_thermal.c thermal: consistently use int for temperatures 2015-08-03 23:15:50 +08:00
int3402_thermal.c Thermal/int340x/int3402: Provide notification support 2015-01-20 09:30:34 +08:00
int3403_thermal.c Thermal/int340x/int3403: Use int340x thermal API 2015-01-20 09:30:25 +08:00
int3406_thermal.c ACPI / Thermal / video: fix max_level incorrect value 2016-05-30 13:53:09 +02:00
Kconfig Thermal / ACPI / video: add INT3406 thermal driver 2016-05-11 02:15:31 +02:00
Makefile Thermal / ACPI / video: add INT3406 thermal driver 2016-05-11 02:15:31 +02:00
processor_thermal_device.c Thermal: Enable Broxton SoC thermal reporting device 2015-12-29 16:17:53 +08:00