Skip to content

Commit

Permalink
Be less strict about thermal zones for RockChip RK3588 SoC
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBE committed Aug 31, 2024
1 parent 6de810f commit 179182d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux/LibSensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ static int tempDriverPriority(const sensors_chip_name* chip) {
{ "littlecore_thermal", 0 },
{ "bigcore0_thermal", 0 },
{ "bigcore1_thermal", 0 },
{ "bigcore2_thermal", 0 },
/* Low priority drivers */
{ "acpitz", 1 },
};
Expand Down Expand Up @@ -233,7 +234,7 @@ void LibSensors_getCPUTemperatures(CPUData* cpus, unsigned int existingCPUs, uns
coreTempCount += 2;
continue;
}
if (String_eq(chip->prefix, "bigcore1_thermal")) {
if (String_eq(chip->prefix, "bigcore1_thermal") || String_eq(chip->prefix, "bigcore2_thermal")) {
data[7] = temp;
data[8] = temp;
coreTempCount += 2;
Expand Down

0 comments on commit 179182d

Please sign in to comment.