aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl
diff options
context:
space:
mode:
authorRaja Mani <rmani@qca.qualcomm.com>2012-02-22 01:33:51 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-02-28 03:44:03 -0500
commit4480bb59361b317d9a0a7b8cc6daafae14570f49 (patch)
tree3cf9d0ea84c0b2438f463e0b627631c35ac6eca5 /drivers/net/wireless/ath/ath6kl
parent13423c31195efb1a1ac319294f5a0148a13433e6 (diff)
ath6kl: Lower SDIO pad drive strength for hw2.1.1 board
Without this change, SDIO shuts down due to CRC error during data communication to the firmware in some of the platform. for example, scan request issued to the firmware doesn't return scan completed events and cause the socket interface to always return -16 (device busy). SDIO pad drive strength should be reduced for hw2.1.1 board to avoid such errors. Signed-off-by: Raja Mani <rmani@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 6fed6280174f..f3b5502362d8 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -1406,7 +1406,8 @@ static int ath6kl_init_upload(struct ath6kl *ar)
1406 return status; 1406 return status;
1407 1407
1408 /* WAR to avoid SDIO CRC err */ 1408 /* WAR to avoid SDIO CRC err */
1409 if (ar->version.target_ver == AR6003_HW_2_0_VERSION) { 1409 if (ar->version.target_ver == AR6003_HW_2_0_VERSION ||
1410 ar->version.target_ver == AR6003_HW_2_1_1_VERSION) {
1410 ath6kl_err("temporary war to avoid sdio crc error\n"); 1411 ath6kl_err("temporary war to avoid sdio crc error\n");
1411 1412
1412 param = 0x20; 1413 param = 0x20;