Commit d091771f authored by Sean Wang's avatar Sean Wang Committed by Greg Kroah-Hartman
Browse files

Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend



[ Upstream commit fd3f1066 ]

WMT cmd/event doesn't follow up the generic HCI cmd/event handling, it
needs constantly polling control pipe until the host received the WMT
event, thus, we should require to specifically acquire PM counter on the
USB to prevent the interface from entering auto suspended while WMT
cmd/event in progress.

Fixes: a1c49c43 ("Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices")
Co-developed-by: default avatarJing Cai <jing.cai@mediatek.com>
Signed-off-by: default avatarJing Cai <jing.cai@mediatek.com>
Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f91e25cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment