1 From 76c61286c4d8aa99a70f0e2d8858ff49d1ae5f94 Mon Sep 17 00:00:00 2001
2 From: Grazvydas Ignotas <notasas@gmail.com>
3 Date: Mon, 8 Mar 2010 19:12:25 +0200
4 Subject: [PATCH 3/5] wl1251: reduce eeprom read wait time
6 4sec wait is way too pessimistic, TI driver uses 40ms here,
7 and testing shows that is ebough, so let's also use that.
8 While at it, add useful sounding comment from the TI driver.
10 Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
12 drivers/net/wireless/wl12xx/wl1251_boot.c | 3 ++-
13 1 files changed, 2 insertions(+), 1 deletions(-)
15 diff --git a/drivers/net/wireless/wl12xx/wl1251_boot.c b/drivers/net/wireless/wl12xx/wl1251_boot.c
16 index 28a8086..acb3341 100644
17 --- a/drivers/net/wireless/wl12xx/wl1251_boot.c
18 +++ b/drivers/net/wireless/wl12xx/wl1251_boot.c
19 @@ -496,7 +496,8 @@ int wl1251_boot(struct wl1251 *wl)
20 /* 2. start processing NVS file */
22 wl1251_reg_write32(wl, ACX_REG_EE_START, START_EEPROM_MGR);
24 + /* Wait for EEPROM NVS burst read to complete */
26 wl1251_reg_write32(wl, ACX_EEPROMLESS_IND_REG, USE_EEPROM);
28 ret = wl1251_boot_upload_nvs(wl);