Skip to content

Commit b5266ea

Browse files
AxelLingregkh
authored andcommitted
mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 474de3b commit b5266ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/misc/cb710/core.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ static int __devinit cb710_probe(struct pci_dev *pdev,
245245
if (err)
246246
return err;
247247

248+
spin_lock_init(&chip->irq_lock);
248249
chip->pdev = pdev;
249250
chip->iobase = pcim_iomap_table(pdev)[0];
250251

0 commit comments

Comments
 (0)