diff options
| author | 2026-09-07 23:12:45 +0800 | |
|---|---|---|
| committer | 2026-10-14 14:38:11 -0400 | |
| commit | 09cf09f752ddd2fecad2aff0d053d90872d55adb (patch) | |
| tree | 5bb798bd38f9d5e0578470a442a25589d9ebf218 /scripts/Makefile.thinlto | |
| parent | Bluetooth: hci_h5: Avoid clearing the escape bit for ordinary bytes (diff) | |
Bluetooth: hci_ll: Sleep while waiting for the controller to power up
ll_setup() busy-waits for 100 ms after asserting the controller enable
GPIO on each firmware download attempt. With retries this can occupy
the CPU for up to 400 ms.
The setup callback runs in sleepable context and already uses msleep(),
gpiod_set_value_cansleep() and synchronous firmware commands. Replace
mdelay(100) with msleep(100) so the CPU can run other work during the
power-up delay. Keep the requested delay and subsequent CTS wait.
Signed-off-by: Xuhua Zhang <zhangxuhua@kylinsec.com.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
