Skip to content

Commit 5474e98

Browse files
pankitgargdlezcano
authored andcommitted
thermal/drivers/qoriq: No need to program site adjustment register
No need to program site adjustment register, as programming these registers do not give accurate value and also these registers are not mentioned in Reference Manual. Signed-off-by: Pankit Garg <[email protected]> Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 51c8e11 commit 5474e98

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/thermal/qoriq_thermal.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,6 @@ static int qoriq_tmu_calibration(struct device *dev,
208208

209209
static void qoriq_tmu_init_device(struct qoriq_tmu_data *data)
210210
{
211-
int i;
212-
213211
/* Disable interrupt, using polling instead */
214212
regmap_write(data->regmap, REGS_TIER, TIER_DISABLE);
215213

@@ -220,8 +218,6 @@ static void qoriq_tmu_init_device(struct qoriq_tmu_data *data)
220218
} else {
221219
regmap_write(data->regmap, REGS_V2_TMTMIR, TMTMIR_DEFAULT);
222220
regmap_write(data->regmap, REGS_V2_TEUMR(0), TEUMR0_V2);
223-
for (i = 0; i < SITES_MAX; i++)
224-
regmap_write(data->regmap, REGS_V2_TMSAR(i), TMSARA_V2);
225221
}
226222

227223
/* Disable monitoring */

0 commit comments

Comments
 (0)