| From b5266ea675c5a041e2852c7ccec4cf2d4f5e0cf4 Mon Sep 17 00:00:00 2001 |
| From: Axel Lin <axel.lin@gmail.com> |
| Date: Wed, 1 Feb 2012 12:31:47 +0800 |
| Subject: mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip |
| MIME-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| From: Axel Lin <axel.lin@gmail.com> |
| |
| 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 | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| --- a/drivers/misc/cb710/core.c |
| +++ b/drivers/misc/cb710/core.c |
| @@ -244,6 +244,7 @@ static int __devinit cb710_probe(struct |
| if (err) |
| return err; |
| |
| + spin_lock_init(&chip->irq_lock); |
| chip->pdev = pdev; |
| chip->iobase = pcim_iomap_table(pdev)[0]; |
| |