diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-09-12 11:15:30 +0800 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-10-16 09:04:09 +0100 |
commit | 2174f9a8c9db50f74df769edd5a4ab822c73b6d2 (patch) | |
tree | fa654f088d7e866517b9799ff42532ccf47abba7 /Documentation | |
parent | 09c07c3f2a266a4491bd9eb3c9823bc310f61daf (diff) |
mfd: tps65010: Use IRQF_NO_AUTOEN flag in request_irq() to fix race
As the comment said, 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: 72cd799544f2 ("[PATCH] I2C: add i2c driver for TPS6501x")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240912031530.2211654-1-ruanjinjie@huawei.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions