diff options
author | Eliav Farber <[email protected]> | 2022-09-08 15:24:31 +0000 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2022-09-08 11:54:44 -0700 |
commit | bb9195bd6664d94d71647631593e09f705ff5edd (patch) | |
tree | f836015c7fe3386b5764e827e3380145358f86db /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 81114fc3d27bf5b06b2137d2fd2b63da656a8b90 (diff) |
hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors
This issue is relevant when "intel,vm-map" is set in device-tree, and
defines a lower number of VMs than actually supported.
This change is needed for all places that use pvt->v_num or vm_num
later on in the code.
Fixes: 9d823351a337 ("hwmon: Add hardware monitoring driver for Moortec MR75203 PVT controller")
Signed-off-by: Eliav Farber <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions