]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btusb: mediatek: reset the controller before downloading the fw
authorHao Qin <hao.qin@mediatek.com>
Wed, 15 May 2024 23:15:20 +0000 (16:15 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 01:33:27 +0000 (21:33 -0400)
commitccfc8948d7e4d93cab341a99774b24586717d89a
tree6854ae6231a4843ed2ac9b648da44463e15fcce2
parent4c0c28f2bbec0c51395fd1f13c697da67483964b
Bluetooth: btusb: mediatek: reset the controller before downloading the fw

Reset the controller before downloading the firmware to improve its
reliability. This includes situations like cold or warm reboots, ensuring
the controller is in its initial state before starting the firmware
download.

Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Co-developed-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Hao Qin <hao.qin@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c