mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
pcmcia/vrc4171: Add missing spinlock init
It doesn't seem this spinlock was properly initialized. This bug was
introduced by commit 7a410e8d4d.
Signed-off-by: Jean Delvare <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
36c286d5a4
commit
811af97238
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue