git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: OMAP1: DMTIMER: fix broken timer clock source selection
[pandora-kernel.git]
/
arch
/
arm
/
mach-omap1
/
timer.c
diff --git
a/arch/arm/mach-omap1/timer.c
b/arch/arm/mach-omap1/timer.c
index
6e90665
..
fb202af
100644
(file)
--- a/
arch/arm/mach-omap1/timer.c
+++ b/
arch/arm/mach-omap1/timer.c
@@
-47,9
+47,9
@@
static int omap1_dm_timer_set_src(struct platform_device *pdev,
int n = (pdev->id - 1) << 1;
u32 l;
- l =
__raw
_readl(MOD_CONF_CTRL_1) & ~(0x03 << n);
+ l =
omap
_readl(MOD_CONF_CTRL_1) & ~(0x03 << n);
l |= source << n;
-
__raw
_writel(l, MOD_CONF_CTRL_1);
+
omap
_writel(l, MOD_CONF_CTRL_1);
return 0;
}