Bluetooth: btrtl: Ask ic_info to drop firmware
authorHilda Wu <hildawu@realtek.com>
Thu, 30 Sep 2021 10:36:34 +0000 (18:36 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 1 Oct 2021 09:40:47 +0000 (11:40 +0200)
commitcd36742a957c37f6cd17124dac6dd1d61aeba4ab
tree2d4c8c168423e78eb6adf77c0a9cab584845fad4
parent4fd6d490796171bf786090fee782e252186632e4
Bluetooth: btrtl: Ask ic_info to drop firmware

Some un-support wakeup platforms keep USB power and suspend signal
is coming late, this makes Realtek some chip keep its firmware,
and make it never load new firmware.

So use vendor specific HCI command to ask them drop its firmware after
system shutdown or resume.

Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btrtl.c