Skip to content
Commit bb099a80 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

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: default avatarOded Gabbay <ogabbay@kernel.org>
parent 9acdc21b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment