forked from rubenslte/android_kernel_samsung_msm8226
Merge "thermal: msm_tsens: Fix clearing interrupt bit on resume" into msm-3.0
This commit is contained in:
committed by
QuIC Gerrit Code Review
commit
2be265f37f
@@ -511,7 +511,6 @@ static int tsens_resume(struct device *dev)
|
||||
reg = readl_relaxed(TSENS_CNTL_ADDR);
|
||||
writel_relaxed(reg | TSENS_SW_RST, TSENS_CNTL_ADDR);
|
||||
reg |= TSENS_SLP_CLK_ENA | TSENS_EN | (TSENS_MEASURE_PERIOD << 16) |
|
||||
TSENS_LOWER_STATUS_CLR | TSENS_UPPER_STATUS_CLR |
|
||||
TSENS_MIN_STATUS_MASK | TSENS_MAX_STATUS_MASK |
|
||||
(((1 << TSENS_NUM_SENSORS) - 1) << 3);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user