2016-03-08 03:41:14

by Wei-Ning Huang

[permalink] [raw]
Subject: [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure

From: Wei-Ning Huang <[email protected]>

In some case, the btmrvl_sdio firmware would fail to active within the
polling time. Increase the polling interval to 100 msec to fix the
issue.

Signed-off-by: Wei-Ning Huang <[email protected]>
Signed-off-by: Wei-Ning Huang <[email protected]>
---
drivers/bluetooth/btmrvl_sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 6ed8acf..c6ef248 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -371,7 +371,7 @@ static int btmrvl_sdio_verify_fw_download(struct btmrvl_sdio_card *card,
if (firmwarestat == FIRMWARE_READY)
return 0;

- msleep(10);
+ msleep(100);
}

return -ETIMEDOUT;
--
2.7.0.rc3.207.g0ac5344


2016-03-08 18:28:49

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure

Hi Wei-Ning,

> In some case, the btmrvl_sdio firmware would fail to active within the
> polling time. Increase the polling interval to 100 msec to fix the
> issue.
>
> Signed-off-by: Wei-Ning Huang <[email protected]>
> Signed-off-by: Wei-Ning Huang <[email protected]>
> ---
> drivers/bluetooth/btmrvl_sdio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel