Gitweb: http://git.kernel.org/linus/91c39dcb7365ed1ff34ee9b3541304da5c942696 Commit: 91c39dcb7365ed1ff34ee9b3541304da5c942696 Parent: 7f96b1caac43b34b325ee4acf61ce57d7214409c Author: Mike Rapoport <mike@compulab.co.il> AuthorDate: Thu Apr 2 10:21:29 2009 +0100 Committer: Russell King <rmk+kernel@arm.linux.org.uk> CommitDate: Thu Apr 2 11:02:32 2009 +0100 [ARM] 5442/1: pxa/cm-x255: fix reverse RDY gpios in PCMCIA driver 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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pcmcia/pxa2xx_cm_x255.c b/drivers/pcmcia/pxa2xx_cm_x255.c index 4ed64d8..5143a76 100644 --- 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_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); -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
