diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2021-12-12 16:40:24 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 08:59:09 +0200 |
commit | bb099a805104568c8babbf94824507b0d72ba232 (patch) | |
tree | 6896b561d52dcef8ec8f2d2bf6ffe2b33bae8462 /drivers/char/tpm/tpm_tis_spi_main.c | |
parent | 9acdc21b0b04f370c306b7d95c296c7f22660fc0 (diff) |
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 'drivers/char/tpm/tpm_tis_spi_main.c')
0 files changed, 0 insertions, 0 deletions