lkml.org 
[lkml]   [2012]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-02-01 07:43    [W:0.030 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site