Commit 3aab20eb authored by Chris Lu's avatar Chris Lu Committed by Greg Kroah-Hartman
Browse files

Bluetooth: btusb: add callback function in btusb suspend/resume



[ Upstream commit 95f92928 ]

Add suspend/resum callback function in btusb_data which are reserved
for vendor specific usage during suspend/resume. hdev->suspend will be
added before stop traffic in btusb_suspend and hdev-> resume will be
added after resubmit urb in btusb_resume.

Signed-off-by: default avatarChris Lu <chris.lu@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>
Stable-dep-of: cea1805f ("Bluetooth: btusb: mediatek: add callback function in btusb_disconnect")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9a466b86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment