]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: btmtk: improve mt79xx firmware setup retry flow
authorChris Lu <chris.lu@mediatek.com>
Tue, 3 Feb 2026 06:25:08 +0000 (14:25 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 Apr 2026 14:20:39 +0000 (10:20 -0400)
commit54f1f020e9f4a087779cc4d96a7c86f47d0c6797
tree705350e42a684e9ebc7da50914a14a6e38cedbb9
parenta80b51f066063e399a50c1e1ced008734a6ec800
Bluetooth: btmtk: improve mt79xx firmware setup retry flow

If retries are exhausted, driver should not do futher operation.
During mt79xx firmware download process, if the retry count reaches0,
driver will return an -EIO error and release the firmware resources.

Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btmtk.c