]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: mediatek: update the common setup between MT7622 and other devices
authorSean Wang <sean.wang@mediatek.com>
Thu, 14 Feb 2019 23:19:37 +0000 (07:19 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Feb 2019 13:08:55 +0000 (14:08 +0100)
commite0b67035a90b58d01f911fed77b6e3da153da66e
tree2a8b0a394cbd2674ebc9709c16594c80bc80d541
parent88e5f366a1903bfb717ad37a72f4657dae4d81da
Bluetooth: mediatek: update the common setup between MT7622 and other devices

Update the setup sequence on MT7622 to apply the same flow with MT7663U
and MT7668U USB [1] as much as possible. These additional commands are
required to parse the corresponding event to determine what current state
the Bluetooth device is on and thus it's necessary to extend
mtk_hci_wmt_sync to support the reading status in the same patch.

[1] http://lists.infradead.org/pipermail/linux-mediatek/2019-January/017074.html

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtkuart.c