drivers: Import xiaomi thermal changes from 19.1

- Per-app thermal configs were broken without this change.

Change-Id: I2410c92949ede9acda37376b742970cf46d27fa8
This commit is contained in:
althafvly
2023-06-29 23:44:53 +05:30
parent fc1f0bcf48
commit c1a0667cc6
6 changed files with 402 additions and 21 deletions

View File

@@ -429,7 +429,7 @@ static inline void cpufreq_resume(void) {}
/* Policy Notifiers */
#define CPUFREQ_ADJUST (0)
#define CPUFREQ_NOTIFY (1)
#define CPUFREQ_INCOMPATIBLE (6)
#define CPUFREQ_THERMAL (2)
#ifdef CONFIG_CPU_FREQ
int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list);