Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0874800 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Sekhar Nori
Browse files

ARM: davinci: correct MDSTAT_STATE_MASK



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: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 810198bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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__