summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2025-03-11 18:25:22 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-03-25 12:51:26 -0400
commit6ac4233afb9a389a7629b7f812395d1d1eca5a83 (patch)
treef5329544ab166249b5f879c634bbe9e37fb069e3 /net/lapb/lapb_timer.c
parent33634e2ab7c6369391e0ca4b9b97dc861e33d20e (diff)
Bluetooth: btmtksdio: Prevent enabling interrupts after IRQ handler removal
Ensure interrupts are not re-enabled when the IRQ handler has already been removed. This prevents unexpected IRQ handler execution due to stale or unhandled interrupts. Modify btmtksdio_txrx_work to check if bdev->func->irq_handler exists before calling sdio_writel to enable interrupts. Co-developed-by: Pedro Tsai <pedro.tsai@mediatek.com> Signed-off-by: Pedro Tsai <pedro.tsai@mediatek.com> Co-developed-by: Felix Freimann <felix.freimann@mediatek.com> Signed-off-by: Felix Freimann <felix.freimann@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions