linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wei-Ning Huang <wnhuang@chromium.org>
To: Linux Bluetooth <linux-bluetooth@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	snanda@chromium.org, djkurtz@chromium.org, akarwar@marvell.com,
	Wei-Ning Huang <wnhuang@chromium.org>,
	Wei-Ning Huang <wnhuang@google.com>,
	marcel@holtmann.org, gustavo@padovan.org,
	johan.hedberg@gmail.com
Subject: [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure
Date: Tue,  8 Mar 2016 11:40:06 +0800	[thread overview]
Message-ID: <1457408407-39841-1-git-send-email-wnhuang@google.com> (raw)

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

             reply	other threads:[~2016-03-08  3:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08  3:40 Wei-Ning Huang [this message]
2016-03-08 18:28 ` [PATCH] Bluetooth: btmrvl_sdio: fix firmware activation failure Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457408407-39841-1-git-send-email-wnhuang@google.com \
    --to=wnhuang@chromium.org \
    --cc=akarwar@marvell.com \
    --cc=djkurtz@chromium.org \
    --cc=gustavo@padovan.org \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=snanda@chromium.org \
    --cc=wnhuang@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).