diff options
author | Gavin Li <git@thegavinli.com> | 2015-01-06 18:47:23 -0800 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2015-01-07 12:41:45 +0000 |
commit | 91d1179212161f220938198b742c328ad38fd0a3 (patch) | |
tree | 7852017c864f0eb3833782e2a017952bd8531458 /drivers/leds/leds-menf21bmc.c | |
parent | 4b149e417463bbb6d1d9b805f729627ca2b54495 (diff) |
irqchip: atmel-aic-common: Prevent clobbering of priority when changing IRQ type
This patch makes the bitmask for AIC_SRCTYPE consistent
with that of its valid values, and prevents the priority
field at bits 2:0 from being clobbered by an incorrect
AND with the AIC_SRCTYPE mask.
Signed-off-by: Gavin Li <gavinli@thegavinli.com>
Cc: <stable@vger.kernel.org> # v3.17+
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Link: https://lkml.kernel.org/r/1420598843-8409-1-git-send-email-gavinli@thegavinli.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/leds/leds-menf21bmc.c')
0 files changed, 0 insertions, 0 deletions