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

Commit b5266ea6 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip



Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 474de3bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -245,6 +245,7 @@ static int __devinit cb710_probe(struct pci_dev *pdev,
	if (err)
		return err;

	spin_lock_init(&chip->irq_lock);
	chip->pdev = pdev;
	chip->iobase = pcim_iomap_table(pdev)[0];