summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1100_badge4.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-16 09:27:33 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-21 14:27:04 +0000
commit65c77dcaa4d175194588cc829ccf0f1709f257c5 (patch)
tree14445c7bb2dcc69282074a36b358cd371232d86c /drivers/pcmcia/sa1100_badge4.c
parent1c3d038bd5fb9dc868bb7474caaddc7aea4d562e (diff)
downloadblackbird-op-linux-65c77dcaa4d175194588cc829ccf0f1709f257c5.tar.gz
blackbird-op-linux-65c77dcaa4d175194588cc829ccf0f1709f257c5.zip
PCMCIA: sa1111: pass along sa1111_pcmcia_configure_socket() failure code
Pass along the sa1111_pcmcia_configure_socket() failure code to higher levels, rather than just returning zero. Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia/sa1100_badge4.c')
-rw-r--r--drivers/pcmcia/sa1100_badge4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/sa1100_badge4.c b/drivers/pcmcia/sa1100_badge4.c
index ca97cb863896..4d206f4dd67b 100644
--- a/drivers/pcmcia/sa1100_badge4.c
+++ b/drivers/pcmcia/sa1100_badge4.c
@@ -122,7 +122,7 @@ badge4_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state
local_irq_restore(flags);
}
- return 0;
+ return ret;
}
static struct pcmcia_low_level badge4_pcmcia_ops = {
OpenPOWER on IntegriCloud