From 12a79a5f57bfb15bf5d632d9b2736765c07f3176 Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Sat, 3 Aug 2024 14:52:23 +0530 Subject: [PATCH] Remove unwanted patch --- patches/timeout.patch | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 patches/timeout.patch diff --git a/patches/timeout.patch b/patches/timeout.patch deleted file mode 100644 index 208037cf..00000000 --- a/patches/timeout.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 8ec770b4f78fc14629705206e2db54d9d6439686 Mon Sep 17 00:00:00 2001 -From: Hector Martin -Date: Thu, 5 Oct 2023 18:42:58 +0900 -Subject: [PATCH] Bluetooth: hci_bcm4377: Increase boot timeout - -BCM4388 takes over 2 seconds to boot, so increase the timeout (and also -fix the units while we're here). - -Signed-off-by: Hector Martin ---- - drivers/bluetooth/hci_bcm4377.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/drivers/bluetooth/hci_bcm4377.c b/drivers/bluetooth/hci_bcm4377.c -index ff5a187b609a25..4f851a090b06cf 100644 ---- a/drivers/bluetooth/hci_bcm4377.c -+++ b/drivers/bluetooth/hci_bcm4377.c -@@ -34,7 +34,8 @@ enum bcm4377_chip { - #define BCM4387_DEVICE_ID 0x5f71 - #define BCM4388_DEVICE_ID 0x5f72 - --#define BCM4377_TIMEOUT 1000 -+#define BCM4377_TIMEOUT msecs_to_jiffies(1000) -+#define BCM4377_BOOT_TIMEOUT msecs_to_jiffies(5000) - - /* - * These devices only support DMA transactions inside a 32bit window -@@ -1871,7 +1872,7 @@ static int bcm4377_boot(struct bcm4377_data *bcm4377) - dev_dbg(&bcm4377->pdev->dev, "waiting for firmware to boot\n"); - - ret = wait_for_completion_interruptible_timeout(&bcm4377->event, -- BCM4377_TIMEOUT); -+ BCM4377_BOOT_TIMEOUT); - if (ret == 0) { - ret = -ETIMEDOUT; - goto out_dma_free;