Bluetooth: btmrvl_sdio: fix firmware activation failure
authorWei-Ning Huang <wnhuang@chromium.org>
Tue, 8 Mar 2016 03:40:06 +0000 (11:40 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Mar 2016 18:51:29 +0000 (19:51 +0100)
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@chromium.org>
Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c

index 6ed8acfcfa9cbfa6474e1fc790d214a9aaf48a3f..c6ef248de5e44880e2c7c5269010f95eb22fbf23 100644 (file)
@@ -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;