thermal: int340x: Increase bitmap size
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 14 Mar 2022 22:08:55 +0000 (15:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:01 +0000 (14:23 +0200)
commit137c66d5f915249ba8c1b5cc25bb0e582d54d925
treefbdd635884fa7fed3bd7fd802b10cd2970d1c379
parentbc5f440e1c5c86a09b4045049552fd31b5aea293
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>
drivers/thermal/intel/int340x_thermal/int3400_thermal.c