aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung/exynos_tmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.c')
-rw-r--r--drivers/thermal/samsung/exynos_tmu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index 40e0cfd3e84f..acbd29546783 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -509,9 +509,12 @@ static int exynos_tmu_probe(struct platform_device *pdev)
509 pdata->trigger_enable[1] + pdata->trigger_enable[2]+ 509 pdata->trigger_enable[1] + pdata->trigger_enable[2]+
510 pdata->trigger_enable[3]; 510 pdata->trigger_enable[3];
511 511
512 for (i = 0; i < exynos_sensor_conf.trip_data.trip_count; i++) 512 for (i = 0; i < exynos_sensor_conf.trip_data.trip_count; i++) {
513 exynos_sensor_conf.trip_data.trip_val[i] = 513 exynos_sensor_conf.trip_data.trip_val[i] =
514 pdata->threshold + pdata->trigger_levels[i]; 514 pdata->threshold + pdata->trigger_levels[i];
515 exynos_sensor_conf.trip_data.trip_type[i] =
516 pdata->trigger_type[i];
517 }
515 518
516 exynos_sensor_conf.trip_data.trigger_falling = pdata->threshold_falling; 519 exynos_sensor_conf.trip_data.trigger_falling = pdata->threshold_falling;
517 520