Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: hci_bcm4377: Increase boot timeout

BCM4388 takes over 2 seconds to boot, so increase the timeout.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Hector Martin and committed by
Luiz Augusto von Dentz
3b867602 56c695a8

+2 -1
+2 -1
drivers/bluetooth/hci_bcm4377.c
··· 33 33 #define BCM4387_DEVICE_ID 0x5f71 34 34 35 35 #define BCM4377_TIMEOUT msecs_to_jiffies(1000) 36 + #define BCM4377_BOOT_TIMEOUT msecs_to_jiffies(5000) 36 37 37 38 /* 38 39 * These devices only support DMA transactions inside a 32bit window ··· 1863 1862 dev_dbg(&bcm4377->pdev->dev, "waiting for firmware to boot\n"); 1864 1863 1865 1864 ret = wait_for_completion_interruptible_timeout(&bcm4377->event, 1866 - BCM4377_TIMEOUT); 1865 + BCM4377_BOOT_TIMEOUT); 1867 1866 if (ret == 0) { 1868 1867 ret = -ETIMEDOUT; 1869 1868 goto out_dma_free;