projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b3b3f
)
pcmcia/vrc4171: Add missing spinlock init
author
Jean Delvare
<khali@linux-fr.org>
Sun, 16 Dec 2012 21:00:50 +0000
(22:00 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:39 +0000
(
05:38
-0800)
commit
811af9723859884f2f771f3174f3ddedab7c53b5
upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/vrc4171_card.c
patch
|
blob
|
history
diff --git
a/drivers/pcmcia/vrc4171_card.c
b/drivers/pcmcia/vrc4171_card.c
index
75806be
..
d98a086
100644
(file)
--- a/
drivers/pcmcia/vrc4171_card.c
+++ b/
drivers/pcmcia/vrc4171_card.c
@@
-246,6
+246,7
@@
static int pccard_init(struct pcmcia_socket *sock)
socket = &vrc4171_sockets[slot];
socket->csc_irq = search_nonuse_irq();
socket->io_irq = search_nonuse_irq();
+ spin_lock_init(&socket->lock);
return 0;
}