projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f593c
)
[ARM] pxa: fix incorrect mfp_to_gpio() conversion
author
Eric Miao
<eric.y.miao@gmail.com>
Fri, 13 Nov 2009 08:44:14 +0000
(16:44 +0800)
committer
Eric Miao
<eric.y.miao@gmail.com>
Fri, 13 Nov 2009 09:30:21 +0000
(17:30 +0800)
Since MFP_PIN_GPIO* now includes 128-255, mfp_to_gpio() is no longer
valid for those additional pins, fix it.
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/plat-pxa/include/plat/mfp.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-pxa/include/plat/mfp.h
b/arch/arm/plat-pxa/include/plat/mfp.h
index 22086e696e8e38f00ea8a28f68b7e618abee6b33..857a6839071cd57a36688cd4498cda34c172d927 100644
(file)
--- a/
arch/arm/plat-pxa/include/plat/mfp.h
+++ b/
arch/arm/plat-pxa/include/plat/mfp.h
@@
-16,7
+16,7
@@
#ifndef __ASM_PLAT_MFP_H
#define __ASM_PLAT_MFP_H
-#define mfp_to_gpio(m) ((m) %
128
)
+#define mfp_to_gpio(m) ((m) %
256
)
/* list of all the configurable MFP pins */
enum {