Xiubo Li
95c19a06ec
clocksource: Fix clocksource_mmio_readX_down
...
For some clocksource devices, for example, the registers are 32-bit, while
the lower 16-bit is used for timer counting(And reading the upper 16-bit
will return 0).
For example, when the counter value is 0x00001111, and then the
~readl_relaxed(to_mmio_clksrc(c)->reg) will return the value of 0xFFFFEEEE,
but it should be 0x0000EEEE.
So just using the c->mask to mask the unused bits.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2014-05-23 09:19:40 +02:00
..
2014-05-03 00:20:31 +02:00
2014-04-05 15:37:40 -07:00
2014-04-24 09:57:02 -07:00
2014-04-29 15:44:05 +01:00
2014-03-27 14:20:04 -04:00
2014-04-12 14:49:50 -07:00
2014-04-02 20:53:45 -07:00
2014-04-05 15:37:40 -07:00
2014-04-18 16:57:53 -07:00
2014-04-24 23:46:58 +02:00
2014-05-23 09:19:40 +02:00
2014-04-02 20:53:45 -07:00
2014-04-29 01:28:17 +02:00
2014-04-08 13:27:40 +02:00
2014-04-03 09:28:16 -07:00
2014-04-16 12:03:47 +05:30
2014-04-04 09:50:07 -07:00
2014-04-11 11:58:33 -07:00
2014-04-22 09:28:02 -07:00
2014-04-30 09:48:54 +10:00
2014-04-18 10:31:34 -07:00
2014-04-16 14:14:07 -07:00
2014-05-01 04:07:52 -07:00
2014-04-09 08:45:40 -07:00
2014-04-21 23:36:07 +02:00
2014-04-22 21:29:20 -07:00
2014-04-28 17:29:41 -07:00
2014-04-23 07:48:03 -07:00
2014-04-16 16:09:40 +02:00
2014-04-29 19:23:22 +02:00
2014-04-16 15:24:15 -04:00
2014-04-10 09:06:10 -07:00
2014-04-07 16:35:52 -07:00
2014-04-16 12:28:47 -07:00
2014-05-02 14:14:02 -07:00
2014-04-16 11:57:27 +05:30
2014-04-01 15:14:04 -07:00
2014-04-09 08:39:39 -07:00
2014-04-16 12:28:47 -07:00
2014-04-09 08:39:39 -07:00
2014-04-18 16:40:08 -07:00
2014-04-18 18:29:44 -04:00
2014-04-07 10:59:20 -07:00
2014-04-24 21:40:22 +01:00
2014-04-16 10:24:32 -06:00
2014-04-01 15:14:04 -07:00
2014-04-24 12:53:38 -07:00
2014-04-23 16:09:53 +02:00
2014-04-10 12:11:56 -04:00
2014-04-30 22:36:33 +02:00
2014-04-24 17:20:50 +01:00
2014-04-07 14:55:46 -07:00
2014-04-01 16:43:18 -04:00
2014-04-18 16:40:08 -07:00
2014-04-07 16:36:07 -07:00
2014-04-14 22:16:25 +01:00
2014-03-27 01:28:19 +01:00
2014-04-05 15:37:40 -07:00
2014-04-17 12:46:28 +02:00
2014-04-21 14:28:40 -07:00
2014-04-05 15:38:41 -07:00
2014-04-23 13:50:18 +01:00
2014-04-23 16:20:15 -07:00
2014-04-12 17:31:22 -07:00
2014-04-10 09:15:46 -07:00
2014-04-24 15:38:22 -07:00
2014-04-25 11:35:04 -07:00
2014-04-24 12:45:40 -07:00
2014-04-03 14:05:02 -07:00
2014-04-12 16:51:08 -07:00
2014-04-17 08:10:20 +03:00
2014-04-16 14:08:37 -07:00
2014-04-16 14:07:51 -07:00
2014-04-07 14:55:46 -07:00
2014-04-17 10:54:07 -07:00
2014-04-17 08:10:19 +03:00