]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btmtksdio: move interrupt service to work
authorSean Wang <sean.wang@mediatek.com>
Mon, 18 Oct 2021 21:30:16 +0000 (05:30 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Oct 2021 13:36:23 +0000 (15:36 +0200)
commit9b18b41750298000c274fb35ba58ba25b70cb763
tree5b3f65ba3247718ee8ffd9b287c8d769aec86c63
parent494c6a15d4d60712b8000a02d2153564c0050e55
Bluetooth: btmtksdio: move interrupt service to work

btmtksdio belongs to WIFI/BT combo chip that would serve two radios in one
sdio_irq so that we have to move interrupt service to worker to ensure ISR
as short as possible.

The worker would serve the both Tx and Rx in a batch to effectively reduce
many interrupts to the host and to avoid excessive sdio lock contention
between various context (even from WiFi driver) and help to be more
efficient to complete command/event transation.

Co-developed-by: Mark-yw Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Mark-yw Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c