Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291505
b: refs/heads/master
c: e7891ba
h: refs/heads/master
i:
  291503: 153d75e
v: v3
  • Loading branch information
Yogesh Ashok Powar authored and John W. Linville committed Mar 13, 2012
1 parent a5a323d commit 60ec209
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6685d109f4b60604fd206cff01355094a2e3b419
refs/heads/master: e7891ba2de9a67f22e5fd2a137f98d89cfb71348
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/mwifiex/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static int mwifiex_pm_wakeup_card(struct mwifiex_adapter *adapter)

while (mwifiex_pcie_ok_to_access_hw(adapter)) {
i++;
udelay(10);
usleep_range(10, 20);
/* 50ms max wait */
if (i == 50000)
break;
Expand Down Expand Up @@ -1088,7 +1088,7 @@ static int mwifiex_pcie_process_cmd_complete(struct mwifiex_adapter *adapter)
card->cmdrsp_buf->len);
while (mwifiex_pcie_ok_to_access_hw(adapter) &&
(count++ < 10))
udelay(50);
usleep_range(50, 60);
} else {
dev_err(adapter->dev, "There is no command but "
"got cmdrsp\n");
Expand Down Expand Up @@ -1337,7 +1337,7 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
}
if (len)
break;
udelay(10);
usleep_range(10, 20);
}

if (!len) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mwifiex/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ mwifiex_sdio_poll_card_status(struct mwifiex_adapter *adapter, u8 bits)
else if ((cs & bits) == bits)
return 0;

udelay(10);
usleep_range(10, 20);
}

dev_err(adapter->dev, "poll card status failed, tries = %d\n",
Expand Down Expand Up @@ -761,7 +761,7 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
if (len)
break;

udelay(10);
usleep_range(10, 20);
}

if (!len) {
Expand Down

0 comments on commit 60ec209

Please sign in to comment.