diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-16 04:28:49 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-21 09:27:05 -0500 |
commit | e2adbecfcb08ae68e05d9a076b5d398cee939664 (patch) | |
tree | cb88a10669cd78716acb4c21b9e66187bc7e20a4 /drivers/pcmcia | |
parent | 65c77dcaa4d175194588cc829ccf0f1709f257c5 (diff) |
PCMCIA: sa1111: jornada720: no need to disable IRQs around sa1111_set_io
sa1111_set_io() already contains the necessary locking within itself
to safely change the state of a set of GPIOs. There's no need for
callers to protect this by disabling IRQs themselves.
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/sa1100_jornada720.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/pcmcia/sa1100_jornada720.c b/drivers/pcmcia/sa1100_jornada720.c index 61b443e8e074..69428d1f5ae1 100644 --- a/drivers/pcmcia/sa1100_jornada720.c +++ b/drivers/pcmcia/sa1100_jornada720.c | |||
@@ -78,13 +78,8 @@ jornada720_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_s | |||
78 | } | 78 | } |
79 | 79 | ||
80 | ret = sa1111_pcmcia_configure_socket(skt, state); | 80 | ret = sa1111_pcmcia_configure_socket(skt, state); |
81 | if (ret == 0) { | 81 | if (ret == 0) |
82 | unsigned long flags; | ||
83 | |||
84 | local_irq_save(flags); | ||
85 | sa1111_set_io(s->dev, pa_dwr_mask, pa_dwr_set); | 82 | sa1111_set_io(s->dev, pa_dwr_mask, pa_dwr_set); |
86 | local_irq_restore(flags); | ||
87 | } | ||
88 | 83 | ||
89 | return ret; | 84 | return ret; |
90 | } | 85 | } |