[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111128154801.05f7c199.akpm@linux-foundation.org>
Date: Mon, 28 Nov 2011 15:48:01 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Donggeun Kim <dg77.kim@...sung.com>
Cc: linux-kernel@...r.kernel.org, sameo@...ux.intel.com,
broonie@...nsource.wolfsonmicro.com, gregkh@...e.de,
kyungmin.park@...sung.com, myungjoo.ham@...sung.com
Subject: Re: [PATCH 2/2] misc: add driver support for MAX8997 MUIC
On Thu, 24 Nov 2011 18:12:18 +0900
Donggeun Kim <dg77.kim@...sung.com> wrote:
> The MUIC function in MAX8997 device can be used as
> a USB port detector and switch.
> This patch supports the MUIC feature of MAX8997.
>
> Signed-off-by: Donggeun Kim <dg77.kim@...sung.com>
> Signed-off-by: MyungJoo Ham <myungjoo.ham@...sung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@...sung.com>
Samuel, can you please merge this if/when it's ready?
>
> ...
>
> +static irqreturn_t max8997_muic_irq_handler(int irq, void *data)
> +{
> + struct max8997_muic_info *info = data;
> +
> + dev_dbg(info->dev, "irq:%d\n", irq);
> + info->irq = irq;
> +
> + schedule_work(&info->irq_work);
> +
> + return IRQ_HANDLED;
> +}
The code does schedule_work() but I see no flush_work(). Is it
possible for the work to still be pending after device shutdown, or
even after rmmod?
--
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