aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2015-11-05 00:17:59 -0500
committerEduardo Valentin <edubezval@gmail.com>2015-11-12 13:00:11 -0500
commit144c5565c22a392cf2917b40754fc88109765f07 (patch)
treed64573bcf9a75c86268087452d3be22d2cbeb4ba
parent1d98b618cc0d8d65650ac0de88c93c98013b1166 (diff)
thermal: rockchip: trivial: fix typo in commit
Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--drivers/thermal/rockchip_thermal.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c
index e72a69d51ed2..907a317f1ce8 100644
--- a/drivers/thermal/rockchip_thermal.c
+++ b/drivers/thermal/rockchip_thermal.c
@@ -237,15 +237,19 @@ static int rk_tsadcv2_code_to_temp(u32 code, int *temp)
237} 237}
238 238
239/** 239/**
240 * rk_tsadcv2_initialize - initialize TASDC Controller 240 * rk_tsadcv2_initialize - initialize TASDC Controller.
241 * (1) Set TSADCV2_AUTO_PERIOD, configure the interleave between 241 *
242 * every two accessing of TSADC in normal operation. 242 * (1) Set TSADC_V2_AUTO_PERIOD:
243 * (2) Set TSADCV2_AUTO_PERIOD_HT, configure the interleave between 243 * Configure the interleave between every two accessing of
244 * every two accessing of TSADC after the temperature is higher 244 * TSADC in normal operation.
245 * than COM_SHUT or COM_INT. 245 *
246 * (3) Set TSADCV2_HIGH_INT_DEBOUNCE and TSADC_HIGHT_TSHUT_DEBOUNCE, 246 * (2) Set TSADCV2_AUTO_PERIOD_HT:
247 * if the temperature is higher than COMP_INT or COMP_SHUT for 247 * Configure the interleave between every two accessing of
248 * "debounce" times, TSADC controller will generate interrupt or TSHUT. 248 * TSADC after the temperature is higher than COM_SHUT or COM_INT.
249 *
250 * (3) Set TSADCV2_HIGH_INT_DEBOUNCE and TSADC_HIGHT_TSHUT_DEBOUNCE:
251 * If the temperature is higher than COMP_INT or COMP_SHUT for
252 * "debounce" times, TSADC controller will generate interrupt or TSHUT.
249 */ 253 */
250static void rk_tsadcv2_initialize(void __iomem *regs, 254static void rk_tsadcv2_initialize(void __iomem *regs,
251 enum tshut_polarity tshut_polarity) 255 enum tshut_polarity tshut_polarity)