aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/at91_cf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/at91_cf.c')
-rw-r--r--drivers/pcmcia/at91_cf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c
index 8ddc57c5bc47..b8f5acf02261 100644
--- a/drivers/pcmcia/at91_cf.c
+++ b/drivers/pcmcia/at91_cf.c
@@ -119,14 +119,14 @@ at91_cf_set_socket(struct pcmcia_socket *sock, struct socket_state_t *s)
119 /* switch Vcc if needed and possible */ 119 /* switch Vcc if needed and possible */
120 if (gpio_is_valid(cf->board->vcc_pin)) { 120 if (gpio_is_valid(cf->board->vcc_pin)) {
121 switch (s->Vcc) { 121 switch (s->Vcc) {
122 case 0: 122 case 0:
123 gpio_set_value(cf->board->vcc_pin, 0); 123 gpio_set_value(cf->board->vcc_pin, 0);
124 break; 124 break;
125 case 33: 125 case 33:
126 gpio_set_value(cf->board->vcc_pin, 1); 126 gpio_set_value(cf->board->vcc_pin, 1);
127 break; 127 break;
128 default: 128 default:
129 return -EINVAL; 129 return -EINVAL;
130 } 130 }
131 } 131 }
132 132