Skip to content

Commit

Permalink
ARM: davinci: correct MDSTAT_STATE_MASK
Browse files Browse the repository at this point in the history
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 <sshtylyov@ru.mvista.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
  • Loading branch information
Sergei Shtylyov authored and Sekhar Nori committed Sep 7, 2011
1 parent 810198b commit c087480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/include/mach/psc.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
#define PSC_STATE_DISABLE 2
#define PSC_STATE_ENABLE 3

#define MDSTAT_STATE_MASK 0x1f
#define MDSTAT_STATE_MASK 0x3f
#define MDCTL_FORCE BIT(31)

#ifndef __ASSEMBLER__
Expand Down

0 comments on commit c087480

Please sign in to comment.