diff options
author | Huacai Chen <[email protected]> | 2020-07-30 16:51:28 +0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-07-30 12:57:51 +0100 |
commit | c9c73a05413ea4a465cae1cb3593b01b190a233f (patch) | |
tree | 369df2c152c9fde3670c034536114e7c297b7523 /lib/mpi/mpi-sub-ui.c | |
parent | 8fea4b2e804ab8ff93bd0d67a3dadee1d1a3e24f (diff) |
irqchip/loongson-liointc: Fix misuse of gc->mask_cache
In gc->mask_cache bits, 1 means enabled and 0 means disabled, but in the
loongson-liointc driver mask_cache is misused by reverting its meaning.
This patch fix the bug and update the comments as well.
Fixes: dbb152267908c4b2c3639492a ("irqchip: Add driver for Loongson I/O Local Interrupt Controller")
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Jiaxun Yang <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions