Il 10/09/22 14:46, Dmitry Baryshkov ha scritto:
According to msm-3.10, msm8976 uses the same routine for processing calibration data as other platforms. Drop the msm8976-specific compute_intercept_slope_8976() and use compute_intercept_slope(). Cc: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxx> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
As far as I remember, at least some MSM8976 versions don't have the slope fuses populated and/or the values are bad. This is the reason why slopes are hardcoded. This commit would break support for MSM8976. Cc'ing Marijn, as he should be able to re-test this. Cheers, Angelo