thermal: rockchip: rv1126: Remove tsadc trim allowance

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Id4aab26d322f933cfb7a36dbdccbb46b6a584ed3
This commit is contained in:
Elaine Zhang
2021-09-10 17:10:41 +08:00
committed by Tao Huang
parent 12ae35d5bf
commit 433f0ced6f

View File

@@ -1147,7 +1147,7 @@ static int rk_tsadcv1_get_trim_code(struct platform_device *pdev,
int trim_code;
base_code = trim_base * table->kNum / 1000 + table->bNum;
trim_code = code - base_code - 10;
trim_code = code - base_code;
return trim_code;
}