Commit e2c85d85 authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Andi Shyti
Browse files

i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()



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 when request IRQ.

Fixes: 37692de5 ("i2c: i2c-qcom-geni: Add bus driver for the Qualcomm GENI I2C controller")
Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Cc: <stable@vger.kernel.org> # v4.19+
Acked-by: default avatarMukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
Reviewed-by: default avatarVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent 1db4da55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment