Trigger reset if firmware status is abnormal when
Status from this message: This series was applied to bluetooth/bluetooth-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Bluetooth: btmtk: improve mt79xx firmware setup retry flowdrivers/ | +6 | 1 reply | Applied |
| 2/3 | Bluetooth: btmtk: add status check in mt79xx firmware setupdrivers/ | +8 | 0 replies | Applied |
| 3/3 | Bluetooth: btmtk: Add reset mechanism if downloading firmware faileddrivers/ drivers/ | +7 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/3] Trigger reset if firmware status is abnormal when
When the device unexpectedly restarts during previous firmware download process, it can cause mt79xx firmware status to be abnormal in the next attempt. In this case, a reset should be performed to ensure everything starts afresh.
These changes include:
1. Optimizing the handling after the download function retry is exhausted, a reset should be performed.
2. Another download firmware command also needs to check status , and if an unexpected status occurs, trigger a reset.
3. Adding a flag "BTMTK_FIRMWARE_DL_RETRY": if download firmware process enters the reset mechanism, this flag will be set. After a successful setup, the flag will be cleared. If the flag is already set, no further reset attempts will be made to avoid endless reset retries.
Chris Lu (3):
Bluetooth: btmtk: improve mt79xx firmware setup retry flow
Bluetooth: btmtk: add status check in mt79xx firmware setup
Bluetooth: btmtk: Add reset mechanism if downloading firmware failed
drivers/bluetooth/btmtk.c | 21 +++++++++++++++++++-- drivers/bluetooth/btmtk.h | 1 + 2 files changed, 20 insertions(+), 2 deletions(-)
Signature · 1 line
2.45.2