diff options
author | Huacai Chen <chenhc@lemote.com> | 2020-07-30 16:51:28 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-30 12:57:51 +0100 |
commit | c9c73a05413ea4a465cae1cb3593b01b190a233f (patch) | |
tree | 369df2c152c9fde3670c034536114e7c297b7523 /drivers/md | |
parent | 8fea4b2e804ab8ff93bd0d67a3dadee1d1a3e24f (diff) | |
download | linux-c9c73a05413ea4a465cae1cb3593b01b190a233f.tar.gz linux-c9c73a05413ea4a465cae1cb3593b01b190a233f.tar.bz2 linux-c9c73a05413ea4a465cae1cb3593b01b190a233f.zip |
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 <chenhc@lemote.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1596099090-23516-4-git-send-email-chenhc@lemote.com
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions