aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorAnsuel Smith <[email protected]>2021-04-20 20:33:35 +0200
committerDaniel Lezcano <[email protected]>2021-04-22 14:08:50 +0200
commit9d51769b2e75bb33c56c8f9ee933eca2d92b375b (patch)
tree1776d8f0a750e68701b36305249b4db8d8a7a010 /lib/mpi/mpi-sub-ui.c
parenta5655d90cf508598b5f5bbccd911924cf8dc9060 (diff)
thermal/drivers/tsens: Don't hardcode sensor slope
Function compute_intercept_slope hardcode the sensor slope to SLOPE_DEFAULT. Change this and use the default value only if a slope is not defined. This is needed for tsens VER_0 that has a hardcoded slope table. Signed-off-by: Ansuel Smith <[email protected]> Reviewed-by: Thara Gopinath <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions