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: Use correct unit for timeouts

BCM4377_TIMEOUT is always used to wait for completitions and their API
expects a timeout in jiffies instead of msecs.

Fixes: 8a06127602de ("Bluetooth: hci_bcm4377: Add new driver for BCM4377 PCIe boards")
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Sven Peter and committed by
Luiz Augusto von Dentz
56c695a8 0ece498c

+1 -1
+1 -1
drivers/bluetooth/hci_bcm4377.c
··· 32 32 #define BCM4378_DEVICE_ID 0x5f69 33 33 #define BCM4387_DEVICE_ID 0x5f71 34 34 35 - #define BCM4377_TIMEOUT 1000 35 + #define BCM4377_TIMEOUT msecs_to_jiffies(1000) 36 36 37 37 /* 38 38 * These devices only support DMA transactions inside a 32bit window