aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_palmtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/pxa2xx_palmtc.c')
-rw-r--r--drivers/pcmcia/pxa2xx_palmtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/pxa2xx_palmtc.c b/drivers/pcmcia/pxa2xx_palmtc.c
index 2c295078032a..3a8993ed5621 100644
--- a/drivers/pcmcia/pxa2xx_palmtc.c
+++ b/drivers/pcmcia/pxa2xx_palmtc.c
@@ -156,7 +156,7 @@ static int palmtc_wifi_powerup(void)
156static int palmtc_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, 156static int palmtc_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
157 const socket_state_t *state) 157 const socket_state_t *state)
158{ 158{
159 int ret; 159 int ret = 1;
160 160
161 if (state->Vcc == 0) 161 if (state->Vcc == 0)
162 ret = palmtc_wifi_powerdown(); 162 ret = palmtc_wifi_powerdown();