Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295407
b: refs/heads/master
c: 1c3d038
h: refs/heads/master
i:
  295405: 36ba4b5
  295403: f3a6241
  295399: 64f3563
  295391: 658ff29
v: v3
  • Loading branch information
Russell King committed Feb 21, 2012
1 parent 265c70a commit 69b0b52
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7670151a48cc54fafd8f1b4f04a1495c2f8b6f0
refs/heads/master: 1c3d038bd5fb9dc868bb7474caaddc7aea4d562e
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_balloon3.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ static void balloon3_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
state->bvd2 = 0; /* not available */
state->vs_3v = 1; /* Always true its a CF card */
state->vs_Xv = 0; /* not available */
state->wrprot = 0; /* not available */
}

static int balloon3_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_cm_x255.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ static void cmx255_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
{
state->vs_3v = 0;
state->vs_Xv = 0;
state->wrprot = 0; /* not available */
}


Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_cm_x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ static void cmx270_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
{
state->vs_3v = 0;
state->vs_Xv = 0;
state->wrprot = 0; /* not available */
}


Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_colibri.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ static void colibri_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
state->ready = !!gpio_get_value(colibri_pcmcia_gpios[READY].gpio);
state->bvd1 = !!gpio_get_value(colibri_pcmcia_gpios[BVD1].gpio);
state->bvd2 = !!gpio_get_value(colibri_pcmcia_gpios[BVD2].gpio);
state->wrprot = 0;
state->vs_3v = 1;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_e740.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ static void e740_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
state->vs_3v = 1;
state->wrprot = 0;
state->vs_Xv = 0;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_mainstone.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ static void mst_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
state->bvd2 = (status & MST_PCMCIA_nSPKR_BVD2) ? 1 : 0;
state->vs_3v = (status & MST_PCMCIA_nVS1) ? 0 : 1;
state->vs_Xv = (status & MST_PCMCIA_nVS2) ? 0 : 1;
state->wrprot = 0; /* not available */
}

static int mst_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_palmld.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ static void palmld_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
state->detect = 1; /* always inserted */
state->wrprot = 0;
state->vs_3v = 1;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_palmtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ static void palmtc_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
state->detect = 1; /* always inserted */
state->wrprot = 0;
state->vs_3v = 1;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_palmtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ static void palmtx_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
state->detect = 1; /* always inserted */
state->wrprot = 0;
state->vs_3v = 1;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_stargate2.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ static void sg2_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
state->bvd2 = 0; /* not available */
state->vs_3v = 1; /* not available - voltage detect for card */
state->vs_Xv = 0; /* not available */
state->wrprot = 0; /* not available - write protect */
}

static int sg2_pcmcia_configure_socket(struct soc_pcmcia_socket *skt,
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/pcmcia/pxa2xx_trizeps4.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ static void trizeps_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
state->bvd2 = (status & ConXS_CFSR_BVD2) ? 1 : 0;
state->vs_3v = (status & ConXS_CFSR_VS1) ? 0 : 1;
state->vs_Xv = (status & ConXS_CFSR_VS2) ? 0 : 1;
state->wrprot = 0; /* not available */
break;

#ifndef CONFIG_MACH_TRIZEPS_CONXS
Expand All @@ -87,7 +86,6 @@ static void trizeps_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
state->bvd2 = 0;
state->vs_3v = 0;
state->vs_Xv = 0;
state->wrprot = 0;
break;

#endif
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_viper.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ static void viper_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt)
static void viper_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
state->wrprot = 0;
state->vs_3v = 1; /* Can only apply 3.3V */
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/pxa2xx_vpac270.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ static void vpac270_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt)
static void vpac270_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
struct pcmcia_state *state)
{
state->wrprot = 0;
state->vs_3v = 1;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/sa1100_assabet.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ static int assabet_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
static void
assabet_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state)
{
state->wrprot = 0; /* Not available on Assabet. */
state->vs_3v = 1; /* Can only apply 3.3V on Assabet. */
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/sa1100_cerf.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ static void cerf_pcmcia_hw_shutdown(struct soc_pcmcia_socket *skt)
static void
cerf_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *state)
{
state->wrprot = 0;
state->vs_3v = 1;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/sa1100_h3600.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ h3600_pcmcia_socket_state(struct soc_pcmcia_socket *skt, struct pcmcia_state *st
{
state->bvd1 = 0;
state->bvd2 = 0;
state->wrprot = 0; /* Not available on H3600. */
state->vs_3v = 0;
state->vs_Xv = 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/sa1100_nanoengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ static void nanoengine_pcmcia_socket_state(

state->bvd1 = 1;
state->bvd2 = 1;
state->wrprot = 0; /* Not available */
state->vs_3v = 1; /* Can only apply 3.3V */
state->vs_Xv = 0;
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/pcmcia/sa1100_shannon.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,13 @@ shannon_pcmcia_socket_state(struct soc_pcmcia_socket *skt,
{
switch (skt->nr) {
case 0:
state->wrprot = 0; /* Not available on Shannon. */
state->bvd1 = 1;
state->bvd2 = 1;
state->vs_3v = 1; /* FIXME Can only apply 3.3V on Shannon. */
state->vs_Xv = 0;
break;

case 1:
state->wrprot = 0; /* Not available on Shannon. */
state->bvd1 = 1;
state->bvd2 = 1;
state->vs_3v = 1; /* FIXME Can only apply 3.3V on Shannon. */
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/pcmcia/sa1100_simpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ simpad_pcmcia_socket_state(struct soc_pcmcia_socket *skt,

state->bvd1 = 1; /* Might be cs3reg & PCMCIA_BVD1 */
state->bvd2 = 1; /* Might be cs3reg & PCMCIA_BVD2 */
state->wrprot=0; /* Not available on Simpad. */

if ((cs3reg & (PCMCIA_VS1|PCMCIA_VS2)) ==
(PCMCIA_VS1|PCMCIA_VS2)) {
Expand Down

0 comments on commit 69b0b52

Please sign in to comment.