i2c: qup: move to use request_irq by IRQF_NO_AUTOEN flag
authorTian Tao <tiantao6@hisilicon.com>
Fri, 19 Mar 2021 03:29:31 +0000 (11:29 +0800)
committerWolfram Sang <wsa@kernel.org>
Fri, 29 Oct 2021 19:57:33 +0000 (21:57 +0200)
commit5fe058b04d017a91cd1fa9281c57d0c3d3a34f58
treeab32d661107c6d4850a506e678c2554eaf5fad37
parent8e98c4f5c38b253adeefc3dc62d447f1fb973c77
i2c: qup: move to use request_irq by IRQF_NO_AUTOEN flag

disable_irq() after request_irq() still has a time gap in which
interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will
disable IRQ auto-enable because of requesting.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-qup.c