[PATCH 1/1] mmp2: add handling on PMIC IRQ

Haojian Zhuang haojian.zhuang at gmail.com
Wed Feb 3 02:21:43 EST 2010


On Wed, Feb 3, 2010 at 1:31 AM, Haojian Zhuang <haojian.zhuang at gmail.com> wrote:
> On Tue, Feb 2, 2010 at 7:14 PM, Eric Miao <eric.y.miao at gmail.com> wrote:
>> I don't think this is probably the right way to go. There could be two
>> improvements:
>>
>> 1. move mfpr register manipulation into a dedicated function, e.g.
>>    mmp2_clear_pmic_int() within mmp2.c
>>
>> 2. invent a pmic_mask_ack_irq() to replace the default one at
>>   run-time, so to save the time that every 2nd level interrupt
>>   handling has to go through the if (.... == IRQ_MMP2_PMIC) thing,
>>   provided it does look like an ack operation to me.
>>
>
> Update this patch. The fix is in below.
> 1. add mmp2_clear_pmic_int()
> 2. append pmic_irq_demux2() for handling PMIC irq.
>
> Thanks
> Haojian
>

Update the patch. The fix is in below.
1. add pmic_irq_ack().
2. remove mask_ack() in irq_chip. Since we have some special ack() to do.

Thanks
Haojian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmp2-add-handling-on-PMIC-IRQ.patch
Type: text/x-patch
Size: 3012 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100203/ea681240/attachment.bin>


More information about the linux-arm-kernel mailing list