projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810198b
)
ARM: davinci: correct MDSTAT_STATE_MASK
author
Sergei Shtylyov
<
[email protected]
>
Fri, 8 Jul 2011 15:24:57 +0000
(19:24 +0400)
committer
Sekhar Nori
<
[email protected]
>
Wed, 7 Sep 2011 08:53:02 +0000
(14:23 +0530)
MDSTAT.STATE occupies bits 0..5 according to all available documentation, so fix
the #define MDSTAT_STATE_MASK at last. Using the wrong value seems to have been
harmless though...
Signed-off-by: Sergei Shtylyov <
[email protected]
>
Signed-off-by: Sekhar Nori <
[email protected]
>
arch/arm/mach-davinci/include/mach/psc.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-davinci/include/mach/psc.h
b/arch/arm/mach-davinci/include/mach/psc.h
index 47fd0bc3d3e7bd03fafd8102ec93d3db343ee220..fa59c097223dc85ec965224e9ebfc0ac8dccf2c2 100644
(file)
--- a/
arch/arm/mach-davinci/include/mach/psc.h
+++ b/
arch/arm/mach-davinci/include/mach/psc.h
@@
-243,7
+243,7
@@
#define PSC_STATE_DISABLE 2
#define PSC_STATE_ENABLE 3
-#define MDSTAT_STATE_MASK 0x
1
f
+#define MDSTAT_STATE_MASK 0x
3
f
#define MDCTL_FORCE BIT(31)
#ifndef __ASSEMBLER__