[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH9JG2U7zFK-DnvqFEaKetSr_cpfqqfy-MKWAX+w7Wr=U39k2g@mail.gmail.com>
Date: Tue, 29 Nov 2011 09:02:28 +0900
From: Kyungmin Park <kyungmin.park@...sung.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Donggeun Kim <dg77.kim@...sung.com>, linux-kernel@...r.kernel.org,
sameo@...ux.intel.com, broonie@...nsource.wolfsonmicro.com,
gregkh@...e.de, myungjoo.ham@...sung.com
Subject: Re: [PATCH 2/2] misc: add driver support for MAX8997 MUIC
On 11/29/11, Andrew Morton <akpm@...ux-foundation.org> wrote:
> 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?
Thank you!
FYI: Now we proposed the new subsystem to handle the external
connector, "multistate switch'.
and this drivers is the candidate one for this subsystem.
Previous time, we sent the fsa9480, micro USB switch. this driver is
also covered at multistate switch framework.
Thank you,
Kyungmin Park
>
>>
>> ...
>>
>> +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/
>
--
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