[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMf-jSkLsSw6EZZCZ-AMqvaRZYhh8oJ6uwvEwZUJXG8SxicEuw@mail.gmail.com>
Date: Wed, 8 Oct 2014 15:55:45 +0530
From: Pramod Gurav <pramod.gurav.etc@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Pramod Gurav <pramod.gurav@...rtplayin.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Michael Hennerich <michael.hennerich@...log.com>,
linux-input@...r.kernel.org
Subject: Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path
On Wed, Oct 8, 2014 at 3:48 PM, Pramod Gurav <pramod.gurav.etc@...il.com> wrote:
> Hi Dmitry,
>
> On Tue, Oct 7, 2014 at 10:08 PM, Dmitry Torokhov
>
..
> Thanks. I saw the change in your tree. Shouldn't
> cancel_delayed_work_sync(&kpad->work) be called under label
> err_free_mem so that it will executed in case adp5588_read,
> input_register_device, request_irq etc.
> Or else we will still have workqueue instance hanging around.
>
Sorry, Should have read Michael's reply more carefully. I get the
reason behind cancelling workquequq after freeing irq.
--
Thanks and Regards
Pramod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists