diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-12-16 16:00:50 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 15:07:34 -0500 |
commit | 811af9723859884f2f771f3174f3ddedab7c53b5 (patch) | |
tree | ea2d84a7e984b4e8f020d6559f68f31a2c87b404 /drivers/pcmcia | |
parent | 36c286d5a45731d957d02c317ee2ce775e856765 (diff) |
pcmcia/vrc4171: Add missing spinlock init
It doesn't seem this spinlock was properly initialized. This bug was
introduced by commit 7a410e8d4d97457c8c381e2de9cdc7bd3306badc.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/vrc4171_card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pcmcia/vrc4171_card.c b/drivers/pcmcia/vrc4171_card.c index 75806be344e5..d98a08612492 100644 --- a/drivers/pcmcia/vrc4171_card.c +++ b/drivers/pcmcia/vrc4171_card.c | |||
@@ -246,6 +246,7 @@ static int pccard_init(struct pcmcia_socket *sock) | |||
246 | socket = &vrc4171_sockets[slot]; | 246 | socket = &vrc4171_sockets[slot]; |
247 | socket->csc_irq = search_nonuse_irq(); | 247 | socket->csc_irq = search_nonuse_irq(); |
248 | socket->io_irq = search_nonuse_irq(); | 248 | socket->io_irq = search_nonuse_irq(); |
249 | spin_lock_init(&socket->lock); | ||
249 | 250 | ||
250 | return 0; | 251 | return 0; |
251 | } | 252 | } |