mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk3368: efuse: change efuse get temp func
Signed-off-by: David Wu <wdc@rock-chips.com>
This commit is contained in:
@@ -314,7 +314,7 @@ int rockchip_get_leakage(int ch)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
int rockchip_get_temp(int ch)
|
||||
int rockchip_efuse_get_temp(int ch)
|
||||
{
|
||||
int ret = 0;
|
||||
int temp = 0;
|
||||
|
||||
@@ -28,5 +28,5 @@
|
||||
int rockchip_efuse_version(void);
|
||||
int rockchip_process_version(void);
|
||||
int rockchip_get_leakage(int ch);
|
||||
int rockchip_get_temp(int ch);
|
||||
int rockchip_efuse_get_temp(int ch);
|
||||
#endif
|
||||
|
||||
@@ -1041,7 +1041,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev)
|
||||
error);
|
||||
goto err_disable_pclk;
|
||||
}
|
||||
thermal->cpu_temp_adjust = rockchip_get_temp(0);
|
||||
thermal->cpu_temp_adjust = rockchip_efuse_get_temp(0);
|
||||
if (thermal->chip->mode == TSADC_AUTO_MODE)
|
||||
{
|
||||
thermal->chip->initialize(thermal->regs, thermal->tshut_polarity);
|
||||
|
||||
Reference in New Issue
Block a user