Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 811af972 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman
Browse files

pcmcia/vrc4171: Add missing spinlock init



It doesn't seem this spinlock was properly initialized. This bug was
introduced by commit 7a410e8d.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 36c286d5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}