]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mt7921s: support bluetooth reset mechanism
authorChih-Ying Chiang <chih-yin.chiang@mediatek.com>
Tue, 8 Feb 2022 18:17:40 +0000 (02:17 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Mar 2022 15:10:50 +0000 (16:10 +0100)
commitbaf7ed70255ed90b91876344c279b24ed598b53a
tree2814b9eff8a22f81957cd57f64847fcc479f5351
parent026058c10ab6efb36225d535abe402a41d8b2bfd
Bluetooth: mt7921s: support bluetooth reset mechanism

Implement .cmd_timeout to reset the MT7921s device via a dedicated GPIO
pin when the firmware hang or the command has no response.

Co-developed-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Chih-Ying Chiang <chih-yin.chiang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtk.h
drivers/bluetooth/btmtksdio.c