summaryrefslogtreecommitdiff
path: root/drivers/tty/synclink_gt.c
diff options
context:
space:
mode:
authorBarry Song <song.bao.hua@hisilicon.com>2020-09-11 04:55:10 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-12 03:40:28 +0300
commit5a6bd84f815485800699f55c78f690b2ed35f0c5 (patch)
tree3f06d8a91da7db60d849a3dfcf4cab672bb77cac /drivers/tty/synclink_gt.c
parent1cf814a0dce9a9fd5d06e754a886a79ab91bf4f1 (diff)
downloadlinux-5a6bd84f815485800699f55c78f690b2ed35f0c5.tar.xz
net: hns: use IRQ_NOAUTOEN to avoid irq is enabled due to request_irq
Rather than doing request_irq and then disabling the irq immediately, it should be safer to use IRQ_NOAUTOEN flag for the irq. It removes any gap between request_irq() and disable_irq(). Cc: Salil Mehta <salil.mehta@huawei.com> Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Barry Song <song.bao.hua@hisilicon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tty/synclink_gt.c')
0 files changed, 0 insertions, 0 deletions