Skip to content

Commit e634079

Browse files
svenpeter42jannau
authored andcommitted
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: 8a06127 ("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>
1 parent 28fdf45 commit e634079

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bluetooth/hci_bcm4377.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enum bcm4377_chip {
3232
#define BCM4378_DEVICE_ID 0x5f69
3333
#define BCM4387_DEVICE_ID 0x5f71
3434

35-
#define BCM4377_TIMEOUT 1000
35+
#define BCM4377_TIMEOUT msecs_to_jiffies(1000)
3636

3737
/*
3838
* These devices only support DMA transactions inside a 32bit window

0 commit comments

Comments
 (0)