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

Haojian Zhuang haojian.zhuang at gmail.com
Wed Feb 3 01:31:49 EST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mmp2-add-handling-on-PMIC-IRQ.patch
Type: text/x-patch
Size: 2873 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100203/3415cd25/attachment.bin>


More information about the linux-arm-kernel mailing list