linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure
@ 2016-03-08  3:40 Wei-Ning Huang
  2016-03-08 18:28 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Wei-Ning Huang @ 2016-03-08  3:40 UTC (permalink / raw)
  To: Linux Bluetooth
  Cc: LKML, snanda, djkurtz, akarwar, Wei-Ning Huang, Wei-Ning Huang,
	marcel, gustavo, johan.hedberg

From: Wei-Ning Huang <wnhuang@chromium.org>

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>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure
  2016-03-08  3:40 [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure Wei-Ning Huang
@ 2016-03-08 18:28 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2016-03-08 18:28 UTC (permalink / raw)
  To: Wei-Ning Huang
  Cc: Linux Bluetooth, LKML, snanda, djkurtz, Amitkumar Karwar,
	Wei-Ning Huang, Gustavo F. Padovan, Johan Hedberg

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 <wnhuang@chromium.org>
> Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
> ---
> drivers/bluetooth/btmrvl_sdio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-08 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08  3:40 [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure Wei-Ning Huang
2016-03-08 18:28 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).