diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2014-10-17 20:23:44 +0900 |
---|---|---|
committer | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2014-10-17 20:34:12 +0900 |
commit | be7142a37eba8307ccde179cd12f9aee97d1e659 (patch) | |
tree | 7c134edaff45d9f0ebd107adc9d60d5079a056c0 | |
parent | cff0bb48eb10c8c57cc7a56559fba14fabee71c2 (diff) | |
download | linux-3.10-be7142a37eba8307ccde179cd12f9aee97d1e659.tar.gz linux-3.10-be7142a37eba8307ccde179cd12f9aee97d1e659.tar.bz2 linux-3.10-be7142a37eba8307ccde179cd12f9aee97d1e659.zip |
thermal: exynos3250: Add interrupt mask for rising/falling interrupt to pdata.
Interrupt mask will be used to clear unexpected interrupt arisen when rising/
falling thresholds are set.
Change-Id: I570018c7b541a54e2b3d8dbfa2a14f2863682edb
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
-rw-r--r-- | drivers/thermal/samsung/exynos_tmu_data.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu_data.c b/drivers/thermal/samsung/exynos_tmu_data.c index 2278726586e..c518154a3cc 100644 --- a/drivers/thermal/samsung/exynos_tmu_data.c +++ b/drivers/thermal/samsung/exynos_tmu_data.c @@ -112,6 +112,10 @@ static const struct exynos_tmu_registers exynos3250_tmu_registers = { .threshold_th0 = EXYNOS_THD_TEMP_RISE, .threshold_th1 = EXYNOS_THD_TEMP_FALL, .tmu_inten = EXYNOS_TMU_REG_INTEN, + .inten_rise_shift = EXYNOS_TMU_RISE_INT_SHIFT, + .inten_rise_mask = EXYNOS_TMU_RISE_INT_MASK, + .inten_fall_shift = EXYNOS_TMU_FALL_INT_SHIFT, + .inten_fall_mask = EXYNOS_TMU_FALL_INT_MASK, .inten_rise0_shift = EXYNOS_TMU_INTEN_RISE0_SHIFT, .inten_rise1_shift = EXYNOS_TMU_INTEN_RISE1_SHIFT, .inten_rise2_shift = EXYNOS_TMU_INTEN_RISE2_SHIFT, |