Re: [PATCH 3/3] powerpc/mpic: Properly set default triggers

2012-04-20 Thread Andreas Schwab
Benjamin Herrenschmidt writes: > This gets rid of the unused default senses array, and replaces the > incorrect use of IRQ_TYPE_NONE with the new IRQ_TYPE_DEFAULT for > the initial set_trigger() call when mapping an interrupt. > > This in turn makes us read the HW state and update the irq desc >

[PATCH 3/3] powerpc/mpic: Properly set default triggers

2012-04-19 Thread Benjamin Herrenschmidt
This gets rid of the unused default senses array, and replaces the incorrect use of IRQ_TYPE_NONE with the new IRQ_TYPE_DEFAULT for the initial set_trigger() call when mapping an interrupt. This in turn makes us read the HW state and update the irq desc accordingly. Signed-off-by: Benjamin Herren