[PATCH 10/11] clocksource: dw_apb_timer_of: Make IO endian agnostic

2015-03-30 Thread Daniel Lezcano
From: Ben Dooks The dw_apb_timer_of timer is using __raw_readl to access the timer register, which is causing issues when the system is running in big endian mode. Fix this by using readl_relaxed() which should account for the endian settings. This fixes issues where the time jumps around in

[PATCH 10/11] clocksource: dw_apb_timer_of: Make IO endian agnostic

2015-03-30 Thread Daniel Lezcano
From: Ben Dooks ben.do...@codethink.co.uk The dw_apb_timer_of timer is using __raw_readl to access the timer register, which is causing issues when the system is running in big endian mode. Fix this by using readl_relaxed() which should account for the endian settings. This fixes issues where