mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
thermal: G12A: update thermal driver
PD#156734:fix build error. Change-Id: Iafa7c3a06d1c180ce69bcb58cc5c339c13fee65c Signed-off-by: huan.biao <huan.biao@amlogic.com>
This commit is contained in:
@@ -246,7 +246,7 @@ static u32 temp_to_code(struct meson_tsensor_data *data, int temp, bool trend)
|
||||
reg_code = ((sensor_code >> 0x4) & R1P1_TS_TEMP_MASK)
|
||||
+ TEMP_CAL;
|
||||
else
|
||||
reg_code = ((sensor_code >> 0x4) & R1P1_TS_TEMP_MASK)
|
||||
reg_code = ((sensor_code >> 0x4) & R1P1_TS_TEMP_MASK);
|
||||
break;
|
||||
default:
|
||||
pr_info("Cal_type not supported\n");
|
||||
|
||||
Reference in New Issue
Block a user