Bluetooth: btmtk: introduce btmtk reset work
authorJing Cai <jing.cai@mediatek.com>
Wed, 28 Jun 2023 22:54:56 +0000 (06:54 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:41:37 +0000 (11:41 -0700)
commit25b6d7593a3af75a00374c9afe548a72794e5af0
treec8a2b01d92d6166c9fb32aac89fd5dc48b8cc373
parentca58330c0b68c5597606f329c75e3c1edadc0f81
Bluetooth: btmtk: introduce btmtk reset work

Introduce btmtk_reset_work which can be called whenever the firmware abort,
HCI command timeout, other fatal error happen.

Co-developed-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Jing Cai <jing.cai@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btmtk.c
drivers/bluetooth/btmtk.h
drivers/bluetooth/btusb.c