summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2015-11-25 16:41:23 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 20:44:54 +0100
commit9f4165dc4e9e6dd10627b7b4d4e09c09fc01410c (patch)
tree6b9ff1a854fc3d1b95f40ea1c81b09f93a815bad /drivers/virt
parentclocksource/drivers/tango-xtal: Replace code by clocksource_mmio_init (diff)
downloadlinux-9f4165dc4e9e6dd10627b7b4d4e09c09fc01410c.tar.xz
linux-9f4165dc4e9e6dd10627b7b4d4e09c09fc01410c.zip
clocksource/drivers/dw_apb_timer: Fix apbt_readl return types
On Marvell BG4CT platform, we observed the __apbt_read_clocksource() return wrong value: Let's assume the APBTMR_N_CURRENT_VALUE value is 0xf0000000, we got 0xffffffff0fffffff, but it should be 0xfffffff. This issue should be common on all 64bit platforms. We fix the issue by letting aptb_readl() return u32. apbt_writel() is also updated to write u32 val rather than unsigned long. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions