* Re: [PATCH -next] backlight: lm3630: add missing destroy_workqueue() on error in lm3630a_intr_config
@ 2013-10-01 1:08 Jingoo Han
0 siblings, 0 replies; only message in thread
From: Jingoo Han @ 2013-10-01 1:08 UTC (permalink / raw)
To: linux-fbdev
On Friday, September 27, 2013 6:51 PM, Wei Yongjun wrote:
>
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Add the missing destroy_workqueue() before return from
> lm3630a_intr_config() in the error handling case.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
+cc Andrew Morton, Daniel Jeong
Acked-by: Jingoo Han <jg1.han@samsung.com>
Best regards,
Jingoo Han
> ---
> drivers/video/backlight/lm3630a_bl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c
> index c63f918..0e5d8d3 100644
> --- a/drivers/video/backlight/lm3630a_bl.c
> +++ b/drivers/video/backlight/lm3630a_bl.c
> @@ -154,6 +154,7 @@ static int lm3630a_intr_config(struct lm3630a_chip *pchip)
> (pchip->irq, NULL, lm3630a_isr_func,
> IRQF_TRIGGER_FALLING | IRQF_ONESHOT, "lm3630a_irq", pchip)) {
> dev_err(pchip->dev, "request threaded irq fail\n");
> + destroy_workqueue(pchip->irqthread);
> return -ENOMEM;
> }
> return rval;
>
> --
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-01 1:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 1:08 [PATCH -next] backlight: lm3630: add missing destroy_workqueue() on error in lm3630a_intr_config Jingoo Han
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox