Bluetooth: btusb: Consolidate code for waiting firmware to boot
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 23 Mar 2021 18:59:01 +0000 (11:59 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Mar 2021 15:09:53 +0000 (16:09 +0100)
commit604b3cf87fd217ac7d7aeaa94b0bebdf139a8c88
treed611ff1baf03baf2f362da2991f2e7469acb25fa
parent21e31c6501d9c24dae8869628ccc80b36f2a3d01
Bluetooth: btusb: Consolidate code for waiting firmware to boot

This moves duplicated code for waiting firmware download completion to
a function that can be reused.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c