Browse Source

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>
Wei-Ning Huang 9 năm trước cách đây
mục cha
commit
9a01242dc7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/bluetooth/btmrvl_sdio.c

+ 1 - 1
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;