projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f96b1c
)
[ARM] 5442/1: pxa/cm-x255: fix reverse RDY gpios in PCMCIA driver
author
Mike Rapoport
<mike@compulab.co.il>
Thu, 2 Apr 2009 09:21:29 +0000
(10:21 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 2 Apr 2009 10:02:32 +0000
(11:02 +0100)
fix reverse RDY gpios in PCMCIA driver
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/pxa2xx_cm_x255.c
patch
|
blob
|
history
diff --git
a/drivers/pcmcia/pxa2xx_cm_x255.c
b/drivers/pcmcia/pxa2xx_cm_x255.c
index 4ed64d8e95e709dd432686486c963df413ea189b..5143a760153b9626aaf15df274e795732951ed80 100644
(file)
--- a/
drivers/pcmcia/pxa2xx_cm_x255.c
+++ b/
drivers/pcmcia/pxa2xx_cm_x255.c
@@
-63,7
+63,7
@@
static void cmx255_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
int cd = skt->nr ? GPIO_PCMCIA_S1_CD_VALID : GPIO_PCMCIA_S0_CD_VALID;
- int rdy = skt->nr ? GPIO_PCMCIA_S
0_RDYINT : GPIO_PCMCIA_S1
_RDYINT;
+ int rdy = skt->nr ? GPIO_PCMCIA_S
1_RDYINT : GPIO_PCMCIA_S0
_RDYINT;
state->detect = !gpio_get_value(cd);
state->ready = !!gpio_get_value(rdy);