git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git]
/
arch
/
arm
/
mach-pxa
/
mfp-pxa2xx.c
diff --git
a/arch/arm/mach-pxa/mfp-pxa2xx.c
b/arch/arm/mach-pxa/mfp-pxa2xx.c
index
87ae312
..
b27544b
100644
(file)
--- a/
arch/arm/mach-pxa/mfp-pxa2xx.c
+++ b/
arch/arm/mach-pxa/mfp-pxa2xx.c
@@
-347,9
+347,9
@@
static int pxa2xx_mfp_suspend(void)
if ((gpio_desc[i].config & MFP_LPM_KEEP_OUTPUT) &&
(GPDR(i) & GPIO_bit(i))) {
if (GPLR(i) & GPIO_bit(i))
- PGSR(
i
) |= GPIO_bit(i);
+ PGSR(
gpio_to_bank(i)
) |= GPIO_bit(i);
else
- PGSR(
i
) &= ~GPIO_bit(i);
+ PGSR(
gpio_to_bank(i)
) &= ~GPIO_bit(i);
}
}