summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.c
diff options
context:
space:
mode:
authorWei-Ning Huang <wnhuang@chromium.org>2016-03-08 04:40:06 +0100
committerMarcel Holtmann <marcel@holtmann.org>2016-03-10 19:51:29 +0100
commit9a01242dc7fc4d5fe3f722afbf35b33aa414cd2f (patch)
tree46cb8e39bcc357d97f575e0c55db255d63e943aa /drivers/bluetooth/btmrvl_sdio.c
parent6lowpan: iphc: fix SAM/DAM bit comment (diff)
downloadlinux-9a01242dc7fc4d5fe3f722afbf35b33aa414cd2f.tar.xz
linux-9a01242dc7fc4d5fe3f722afbf35b33aa414cd2f.zip
Bluetooth: btmrvl_sdio: fix firmware activation failure
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>
Diffstat (limited to 'drivers/bluetooth/btmrvl_sdio.c')
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 6ed8acfcfa9c..c6ef248de5e4 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;