Skip to content

Commit a02a85f

Browse files
committed
lvts: change golden temp to 60 based on sdk and drop comments
1 parent 0e05e1f commit a02a85f

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

drivers/thermal/mediatek/lvts_thermal.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,25 +1871,14 @@ static const struct lvts_ctrl_data mt8195_lvts_ap_data_ctrl[] = {
18711871

18721872
static const struct lvts_data mt7987_lvts_ap_data = {
18731873
.lvts_ctrl = mt7987_lvts_ap_data_ctrl,
1874-
/*.cal_data = {
1875-
.default_golden_temp = 60,
1876-
.default_cal_data = 19380,
1877-
},
1878-
.ops = {
1879-
.lvts_ctrl_connect = mt7987_lvts_ctrl_connect,
1880-
.lvts_ctrl_initialize = mt7987_lvts_ctrl_initialize,
1881-
.lvts_ctrl_start = mt7987_lvts_ctrl_start,
1882-
},
1883-
.irq_enable = 0,
1884-
.hw_protection = 1,*/
18851874
.num_lvts_ctrl = ARRAY_SIZE(mt7987_lvts_ap_data_ctrl),
18861875
.conn_cmd = mt7988_conn_cmds,
18871876
.init_cmd = mt7987_init_cmds,
18881877
.num_conn_cmd = ARRAY_SIZE(mt7988_conn_cmds),
18891878
.num_init_cmd = ARRAY_SIZE(mt7987_init_cmds),
18901879
.temp_factor = LVTS_COEFF_A_MT7987,
18911880
.temp_offset = LVTS_COEFF_B_MT7987,
1892-
.golden_temp = LVTS_GOLDEN_TEMP_DEFAULT,
1881+
.golden_temp = 60,
18931882
.gt_calib_bit_offset = 32,
18941883
.def_calibration = 19380,
18951884
.irq_enable = false,

0 commit comments

Comments
 (0)