android_kernel_xiaomi_sm7250/drivers/thermal/int340x_thermal
Srinivas Pandruvada f26050b99c thermal: int340x: Increase bitmap size
commit 668f69a5f863b877bc3ae129efe9a80b6f055141 upstream.

The number of policies are 10, so can't be supported by the bitmap size
of u8.

Even though there are no platfoms with these many policies, but
for correctness increase to u32.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fixes: 16fc8eca1975 ("thermal/int340x_thermal: Add additional UUIDs")
Cc: 5.1+ <stable@vger.kernel.org> # 5.1+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-15 14:14:42 +02:00
..
acpi_thermal_rel.c
acpi_thermal_rel.h
int340x_thermal_zone.c
int340x_thermal_zone.h
int3400_thermal.c thermal: int340x: Increase bitmap size 2022-04-15 14:14:42 +02:00
int3402_thermal.c
int3403_thermal.c
int3406_thermal.c
Kconfig
Makefile
processor_thermal_device.c