]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mx25: fix time accounting
authorBaruch Siach <baruch@tkos.co.il>
Mon, 25 Jan 2010 10:58:21 +0000 (12:58 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 26 Jan 2010 17:54:06 +0000 (18:54 +0100)
commitfaed40665d2d81b7e0e537d14ef680ab3da9f22d
tree506ddbba47af01284e0ea67b42578fdafd8a12d5
parent828df43f139c7fbf0d505c7b9a666d321a0f2c25
mx25: fix time accounting

The gpt_clk rate function doesn't consider the PER divider. This causes a
significant drift in time accounting. Fix this by introducing the correct rate
calculation function.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx25/clock.c