Skip to content

Commit

Permalink
thermal/drivers/tsens: Rework legacy calibration data parsers
Browse files Browse the repository at this point in the history
Rework existing calibration parsing code to use simple data structure
describing data layout. This allows us to drop all the mask & shift
values, replacing them with data tables.

The code for msm8974 is not reworked, as it has separate calibration and
backup data.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-12-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
  • Loading branch information
Dmitry Baryshkov authored and Daniel Lezcano committed Jan 16, 2023
1 parent 439f240 commit 913d32e
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 662 deletions.
Loading

0 comments on commit 913d32e

Please sign in to comment.