Skip to content
Commit 0b701513 authored by Jing Cai's avatar Jing Cai Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: btusb: mediatek: add MediaTek devcoredump support



This patch implement function .coredump() and dmp_hdr() in btusb
driver for MediaTek controller.  FW core dump was triggered by FW
specific event to show something unexpected happened in the controller.

The driver would be responsible for collecting and uploading the device
core dump pieces in hci driver using core dump API. Once we finished
the whole process, the driver would reset the controller to recover the
kind of fatal error.

Co-developed-by: default avatarChris Lu <chris.lu@mediatek.com>
Signed-off-by: default avatarChris Lu <chris.lu@mediatek.com>
Co-developed-by: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarJing Cai <jing.cai@mediatek.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 25b6d759
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment