diff options
author | Srinivas Pandruvada <[email protected]> | 2021-06-28 14:58:03 -0700 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2021-07-04 18:28:04 +0200 |
commit | fe6a6de6692e7f7159c1ff42b07ecd737df712b4 (patch) | |
tree | ec4d9e5e10bb6c2608733bd721e9d489a0511408 /scripts/gdb/linux/timerlist.py | |
parent | ad079d981db6a4047b60c576df6430bed36bcd7d (diff) |
thermal/drivers/int340x/processor_thermal: Fix tcc setting
The following fixes are done for tcc sysfs interface:
- TCC is 6 bits only from bit 29-24
- TCC of 0 is valid
- When BIT(31) is set, this register is read only
- Check for invalid tcc value
- Error for negative values
Fixes: fdf4f2fb8e899 ("drivers: thermal: processor_thermal_device: Export sysfs interface for TCC offset")
Signed-off-by: Srinivas Pandruvada <[email protected]>
Cc: [email protected]
Acked-by: Zhang Rui <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions