From: hwg Date: Tue, 8 Jan 2013 15:58:31 +0000 (+0800) Subject: wifi: update mt5931 driver to 2.04 X-Git-Tag: firefly_0821_release~7982 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=72f408e9f2e1016b92db80db5ddd9ef926b2955a;p=firefly-linux-kernel-4.4.55.git wifi: update mt5931 driver to 2.04 --- diff --git a/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c b/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c index 19c2374718f9..b367c80e2320 100755 --- a/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c +++ b/drivers/net/wireless/mt5931/os/linux/hif/sdio/sdio.c @@ -1038,9 +1038,10 @@ kalDevRegWrite ( retry: sdio_writel(prGlueInfo->rHifInfo.func, u4Value, u4Register, &ret); - if (ret && a < 5) { + if (ret && a < 10) { a++; - printk("gwl =-==============> sdio_writel retry!\n"); + printk("gwl =-==============> sdio_writel retry %d!\n", a); + msleep(1); goto retry; } diff --git a/drivers/net/wireless/mt5931/os/wifi_version.h b/drivers/net/wireless/mt5931/os/wifi_version.h index cc0b4d8b73a1..0d587ce540fb 100755 --- a/drivers/net/wireless/mt5931/os/wifi_version.h +++ b/drivers/net/wireless/mt5931/os/wifi_version.h @@ -7,7 +7,7 @@ /* * Marvell MV8686 driver version. */ -#define MT5931_DRV_VERSION "2.03" +#define MT5931_DRV_VERSION "2.04" #endif /* WIFI_VERSION_H */