[PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure

From: Wei-Ning Huang
Date: Mon Mar 07 2016 - 22:41:16 EST


From: Wei-Ning Huang <wnhuang@xxxxxxxxxxxx>

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 <wnhuang@xxxxxxxxxxxx>
Signed-off-by: Wei-Ning Huang <wnhuang@xxxxxxxxxx>
---
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