]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Handle deferred probing for the clock supply
authorChen-Yu Tsai <wens@csie.org>
Mon, 17 Dec 2018 04:04:39 +0000 (12:04 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Dec 2018 23:28:38 +0000 (00:28 +0100)
commit62b99ac5b3c2d403025b627bbd8e3f4d32cfff8a
treea32a39a3e365623d2c4bc8e4162fa0e2a4084184
parent9eea791766d081b882cae9d7c466418da8e56196
Bluetooth: hci_bcm: Handle deferred probing for the clock supply

On some systems that actually have the bluetooth controller wired up
with an extra clock signal, it's possible the bluetooth controller
probes before the clock provider. clk_get would return a defer probe
error, which was not handled by this driver.

Handle this properly, so that these systems can work reliably.

Tested-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c