diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2021-12-12 17:40:24 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 09:59:09 +0300 |
commit | bb099a805104568c8babbf94824507b0d72ba232 (patch) | |
tree | 6896b561d52dcef8ec8f2d2bf6ffe2b33bae8462 /scripts/gdb/linux/utils.py | |
parent | 9acdc21b0b04f370c306b7d95c296c7f22660fc0 (diff) | |
download | linux-bb099a805104568c8babbf94824507b0d72ba232.tar.xz |
habanalabs: fix hwmon handling for legacy f/w
In legacy f/w that use old hwmon.h file, the values of the hwmon
enums are different than the values that are in newer kernels (5.6
and above).
Therefore, to support working with those f/w, we need to do some
fixup before registering with the hwmon subsystem and also when
calling the functions that communicate with the f/w to retrieve
sensors information.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions