]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btmtksdio: fix possible FW initialization failure
authorSean Wang <sean.wang@mediatek.com>
Thu, 12 May 2022 21:38:12 +0000 (05:38 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 13 May 2022 11:18:17 +0000 (13:18 +0200)
commita6aaab051d345c48d4392562c9a4333596e5bd2e
tree6f468b3aee91bbeacb1c608e87767b6f760c3a25
parente10ceec3f575d32e77dce99a8cfb8396b26587ce
Bluetooth: btmtksdio: fix possible FW initialization failure

According to FW advised sequence, mt7921s need to re-acquire privilege
immediately after the firmware download is complete before normal running.
Otherwise, it is still possible the bus may be stuck in an abnormal status
that causes FW initialization failure in the current driver.

Fixes: d3564f73770e ("Bluetooth: mt7921s: fix bus hang with wrong privilege")
Co-developed-by: Yake Yang <yake.yang@mediatek.com>
Signed-off-by: Yake Yang <yake.yang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c