X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Firqchip%2Firq-atmel-aic-common.c;h=37199b9b2cfa260659a98da3eb1a48053e7bddfb;hb=44f988df9d08873f0e3fd19adb7c062449db9bf3;hp=b12a5d58546f922b460d6aac34c073ff363ef1b8;hpb=f3996e6ac6e2bd739d8a82cc9acae0653c2d5dca;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/irqchip/irq-atmel-aic-common.c b/drivers/irqchip/irq-atmel-aic-common.c index b12a5d58546f..37199b9b2cfa 100644 --- a/drivers/irqchip/irq-atmel-aic-common.c +++ b/drivers/irqchip/irq-atmel-aic-common.c @@ -86,7 +86,7 @@ int aic_common_set_priority(int priority, unsigned *val) priority > AT91_AIC_IRQ_MAX_PRIORITY) return -EINVAL; - *val &= AT91_AIC_PRIOR; + *val &= ~AT91_AIC_PRIOR; *val |= priority; return 0;