Tao Ren
86fe57fc47
clocksource/drivers/fttmr010: Fix invalid interrupt register access
...
TIMER_INTR_MASK register (Base Address of Timer + 0x38) is not designed
for masking interrupts on ast2500 chips, and it's not even listed in
ast2400 datasheet, so it's not safe to access TIMER_INTR_MASK on aspeed
chips.
Similarly, TIMER_INTR_STATE register (Base Address of Timer + 0x34) is
not interrupt status register on ast2400 and ast2500 chips. Although
there is no side effect to reset the register in fttmr010_common_init(),
it's just misleading to do so.
Besides, "count_down" is renamed to "is_aspeed" in "fttmr010" structure,
and more comments are added so the code is more readble.
Signed-off-by: Tao Ren <taoren@fb.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2018-12-18 22:22:23 +01:00
..
2018-11-02 11:22:45 -07:00
2018-10-26 08:21:04 -06:00
2018-10-18 15:39:10 -07:00
2018-11-01 18:34:46 -07:00
2018-10-31 08:54:17 -07:00
2018-11-02 11:25:48 -07:00
2018-10-24 14:43:41 +01:00
2018-10-29 15:16:01 -07:00
2018-10-25 11:17:40 -06:00
2018-10-27 09:24:24 -07:00
2018-10-31 11:08:30 -07:00
2018-12-18 22:22:23 +01:00
2018-10-25 18:39:02 +02:00
2018-10-30 09:08:07 -07:00
2018-10-25 16:43:35 -07:00
2018-10-25 06:50:48 -07:00
2018-11-02 11:17:22 -07:00
2018-11-03 18:25:17 -07:00
2018-10-16 11:13:50 +02:00
2018-10-24 00:41:07 +01:00
2018-10-25 06:50:48 -07:00
2018-11-02 10:58:20 -07:00
2018-11-01 08:42:21 -07:00
2018-10-15 20:54:17 +02:00
2018-10-23 09:42:05 +01:00
2018-10-11 12:12:55 +02:00
2018-10-31 23:33:34 +00:00
2018-10-23 13:32:18 +01:00
2018-10-29 10:38:10 -07:00
2018-10-26 16:25:19 -07:00
2018-10-28 11:35:40 -07:00
2018-10-31 08:54:16 -07:00
2018-11-01 12:38:48 +01:00
2018-11-01 19:58:52 -07:00
2018-10-26 20:51:36 +02:00
2018-10-09 08:25:08 -06:00
2018-10-31 08:54:16 -07:00
2018-10-29 10:30:44 -07:00
2018-11-02 11:25:48 -07:00
2018-10-31 10:53:29 -07:00
2018-10-31 16:47:55 -07:00
2018-11-01 19:58:52 -07:00
2018-10-23 13:32:18 +01:00
2018-11-04 14:46:04 -08:00
2018-10-23 08:45:05 +01:00
2018-11-04 08:12:44 -08:00
2018-10-23 13:28:53 -05:00
2018-11-01 10:33:12 -04:00
2018-10-25 06:31:56 -07:00
2018-11-02 11:25:48 -07:00
2018-10-15 15:56:15 +02:00
2018-11-01 14:45:38 -07:00
2018-10-17 17:22:26 +02:00
2018-10-28 11:35:40 -07:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-10-26 08:14:13 -07:00
2018-10-23 08:45:05 +01:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-23 13:32:18 +01:00
2018-10-28 19:20:06 -07:00
2018-10-16 13:16:15 +02:00
2018-10-23 01:54:44 +01:00
2018-10-19 12:54:03 -07:00
2018-10-29 15:16:01 -07:00
2018-10-25 02:35:42 +02:00
2018-10-31 08:54:16 -07:00
2018-11-03 10:47:33 -07:00
2018-10-31 08:54:16 -07:00
2018-11-02 11:22:09 -07:00
2018-10-25 06:19:15 -07:00
2018-10-31 10:53:29 -07:00
2018-11-03 10:34:03 -07:00
2018-10-11 09:16:44 -07:00
2018-10-31 11:28:12 -07:00
2018-10-31 08:54:16 -07:00
2018-11-01 19:58:52 -07:00
2018-10-31 11:01:38 -07:00
2018-11-01 14:42:49 -07:00
2018-10-31 11:41:37 -07:00
2018-10-24 20:57:55 -04:00
2018-10-15 20:50:32 +02:00
2018-10-22 10:16:28 +02:00
2018-11-01 19:58:52 -07:00