diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-06-26 14:33:33 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-26 15:05:41 +0300 |
commit | d829b8fb2431595422289cfc210f0a955a8bec74 (patch) | |
tree | 48f7e906c28c46f4b3b9e1f90e78f627893f91a6 /kernel/irq/chip.c | |
parent | e1c921495534002d727b15a76a2f8c20b6b108b5 (diff) | |
download | linux-d829b8fb2431595422289cfc210f0a955a8bec74.tar.xz |
genirq: Set irq masked state when initializing irq_desc
The irq default state is set to disabled when allocating irq desc, but the
masked state flag is not set. This is inconsistent vs. the state tracking
logic which is used to prevent unnecessary calls to hardware level irq chip
functions.
Set the masked state flag as well.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: tfiga@chromium.org
Cc: briannorris@chromium.org
Cc: dianders@chromium.org
Link: http://lkml.kernel.org/r/1498476814-12563-1-git-send-email-jeffy.chen@rock-chips.com
Diffstat (limited to 'kernel/irq/chip.c')
0 files changed, 0 insertions, 0 deletions