]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mt7921s: fix firmware coredump retrieve
authorMark Chen <mark-yw.chen@mediatek.com>
Wed, 12 Jan 2022 07:39:11 +0000 (15:39 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 21 Jan 2022 22:49:27 +0000 (23:49 +0100)
commit97460351a669ad4493cae0ff5313907d301c066b
treed7686e864b406b68ff6b1e573daf97bc8d11bae0
parent3e17771eea9710173a63c5c8d9a0764f386cb5c8
Bluetooth: mt7921s: fix firmware coredump retrieve

According to the MCU firmware behavior, as the driver is aware of the
notification of the interrupt source FW_MAILBOX_INT that shows the MCU
completed delivered a core dump piece to the host, the driver must
acknowledge the MCU with the register PH2DSM0R bit PH2DSM0R_DRIVER_OWN
to notify the MCU to handle the next core dump piece.

Fixes: 4d1c76910413 ("Bluetooth: btmtksdio: add support of processing firmware coredump and log")
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c