Re: [PATCH 01/19] irqchip: atmel-aic: fix wrong bit operation for IRQ priority

2016-01-04 Thread Boris Brezillon
Hi Milo, On Mon, 4 Jan 2016 13:28:25 +0900 Milo Kim wrote: > Atmel AIC has common structure for SMR (Source Mode Register). > > bit[6:5] Interrupt source type > bit[2:0] Priority level > Other bits are unused. > > To update new priority value, bit[2:0] should be cleared first and then >

[PATCH 01/19] irqchip: atmel-aic: fix wrong bit operation for IRQ priority

2016-01-03 Thread Milo Kim
Atmel AIC has common structure for SMR (Source Mode Register). bit[6:5] Interrupt source type bit[2:0] Priority level Other bits are unused. To update new priority value, bit[2:0] should be cleared first and then new priority level can be written. However, aic_common_set_priority() helper c