]> Git Repo - linux.git/commitdiff
[ARM] 5442/1: pxa/cm-x255: fix reverse RDY gpios in PCMCIA driver
authorMike Rapoport <[email protected]>
Thu, 2 Apr 2009 09:21:29 +0000 (10:21 +0100)
committerRussell King <[email protected]>
Thu, 2 Apr 2009 10:02:32 +0000 (11:02 +0100)
fix reverse RDY gpios in PCMCIA driver

Signed-off-by: Mike Rapoport <[email protected]>
Signed-off-by: Russell King <[email protected]>
drivers/pcmcia/pxa2xx_cm_x255.c

index 4ed64d8e95e709dd432686486c963df413ea189b..5143a760153b9626aaf15df274e795732951ed80 100644 (file)
@@ -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_S0_RDYINT : GPIO_PCMCIA_S1_RDYINT;
+       int rdy = skt->nr ? GPIO_PCMCIA_S1_RDYINT : GPIO_PCMCIA_S0_RDYINT;
 
        state->detect = !gpio_get_value(cd);
        state->ready  = !!gpio_get_value(rdy);
This page took 0.058182 seconds and 4 git commands to generate.