pxa: Remove unused MFP LPM definition
Subsystems (2)
PATCH 1/1 pxa: Remove unused MFP LPM definition
MFP_LPM_INPUT snuck in some time ago as part of "[PATCH] pxa: better MFP low power state support for pxa25x/pxa27x", but went unused in the final revision of said patch. Using it on PXA3xx would cause an out-of-bounds access of mfpr_table[]. Let's remove it before someone gets hurt.
Signed-off-by David Hunter <[email protected]>
--- arch/arm/plat-pxa/include/plat/mfp.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
(quoted diff) +0 -0
b/arch/arm/plat-pxa/include/plat/mfp.h
index 857a683..c5d24e9 100644
arch/arm/plat-pxa/include/plat/mfp.h +0 -1
@@ -378,7 +378,6 @@ typedef unsigned long mfp_cfg_t;#define MFP_LPM_PULL_LOW (0x3 << 16)#define MFP_LPM_PULL_HIGH (0x4 << 16)#define MFP_LPM_FLOAT (0x5 << 16) -#define MFP_LPM_INPUT (0x6 << 16)#define MFP_LPM_STATE_MASK (0x7 << 16)#define MFP_LPM_STATE (x) (((x) >> 16) & 0x7)
--
1.6.0.3