* [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
@ 2012-02-01 4:31 Axel Lin
2012-02-01 6:41 ` Michał Mirosław
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-02-01 4:31 UTC (permalink / raw)
To: linux-kernel; +Cc: Micha, Pierre Ossman, Chris Ball, Greg Kroah-Hartman
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/misc/cb710/core.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
index 68cd05b..85cc7710 100644
--- a/drivers/misc/cb710/core.c
+++ b/drivers/misc/cb710/core.c
@@ -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];
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
2012-02-01 4:31 [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip Axel Lin
@ 2012-02-01 6:41 ` Michał Mirosław
0 siblings, 0 replies; 2+ messages in thread
From: Michał Mirosław @ 2012-02-01 6:41 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Pierre Ossman, Chris Ball, Greg Kroah-Hartman
On Wed, Feb 01, 2012 at 12:31:47PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> drivers/misc/cb710/core.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
> index 68cd05b..85cc7710 100644
> --- a/drivers/misc/cb710/core.c
> +++ b/drivers/misc/cb710/core.c
> @@ -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];
>
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
This is -stable material for those using lockdep daily.
Best Regards,
Michał Mirosław
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-01 6:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-01 4:31 [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip Axel Lin
2012-02-01 6:41 ` Michał Mirosław
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).