Re: [PATCH] gpio/ich: Add missing spinlock init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 28, 2013 at 08:58:50AM +0100, Jean Delvare wrote:
> Please consider adding the following patch to stable kernels:

Thanks, this has been queued to the 3.5 tree.

Cheers,
--
Luis

> 
> commit d39a948fef2446cfac3749bbfcfdd536335c3764 Author: Jean Delvare
> <khali@xxxxxxxxxxxx> Date: Sun Dec 16 21:31:40 2012 +0100
> 
>     gpio/ich: Add missing spinlock init
>     
>     As reported by CONFIG_DEBUG_SPINLOCK=y.
>     
>     Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
>     Acked-by: Peter Tyser <ptyser@xxxxxxxxxxx>
>     Signed-off-by: Grant Likely <grant.likely@xxxxxxxxxxxx>
> 
> diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c
> index 6cc87ac..6f2306d 100644
> --- a/drivers/gpio/gpio-ich.c
> +++ b/drivers/gpio/gpio-ich.c
> @@ -390,6 +390,7 @@ static int ichx_gpio_probe(struct platform_device *pdev)
>                 return -ENODEV;
>         }
>  
> +       spin_lock_init(&ichx_priv.lock);
>         res_base = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_GPIO);
>         ichx_priv.use_gpio = ich_info->use_gpio;
>         err = ichx_gpio_request_regions(res_base, pdev->name,
> 
> Thanks,
> -- 
> Jean Delvare
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]