Skip to content

Commit

Permalink
mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb…
Browse files Browse the repository at this point in the history
…710_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>
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Feb 3, 2012
1 parent 474de3b commit b5266ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/misc/cb710/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down

0 comments on commit b5266ea

Please sign in to comment.