]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
authorAxel Lin <axel.lin@gmail.com>
Wed, 1 Feb 2012 04:31:47 +0000 (12:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:28:50 +0000 (11:28 -0800)
commit b5266ea675c5a041e2852c7ccec4cf2d4f5e0cf4 upstream.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cb710/core.c

index b14eab0f2ba584b77e226b68ab335c65478d389e..e43777ee1520d0dcd8172cb05a0526eb781e8b1f 100644 (file)
@@ -244,6 +244,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];