mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
thermal: rockchip: rv1126: Remove tsadc trim allowance
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Change-Id: Id4aab26d322f933cfb7a36dbdccbb46b6a584ed3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user