From patchwork Thu Mar 11 15:45:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 84936 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2BFjE64006787 for ; Thu, 11 Mar 2010 15:45:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933118Ab0CKPpN (ORCPT ); Thu, 11 Mar 2010 10:45:13 -0500 Received: from mail-bw0-f209.google.com ([209.85.218.209]:45081 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933109Ab0CKPpM (ORCPT ); Thu, 11 Mar 2010 10:45:12 -0500 Received: by mail-bw0-f209.google.com with SMTP id 1so156999bwz.21 for ; Thu, 11 Mar 2010 07:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=XQNr3JnClgObP/LYgRfaXUm8vbVEuaXIySP93pu6AGg=; b=h7mmWNZcpXPLXIzlORpYytk4TLGmr8mUnE9QIYXeGQUBfV/QA+AE4+MgssBOm6zBa2 xIhuhqklUZq5lmdyb0MJ3KqTbVfUtps8OTkTi1+0ddnJCAtlhCE3V46iqPivuc9HHyfk 0xr0eilufUa64m3gxEOb9qE2wdgpDJSAHG0Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=sphk/aXrc5ZO5DB2HpDur4gwP2FOWDVIXzmyxBm10tVC2NGx4nDMw9XEMSKvfIvIVl 7/Qt7SzBrXVSHQGXcHGn3kfQ172mQGsZuobuE3NpgBNPNAQq/Jg7/cMqjWMDeyLl93uL XkQWzDwID74wNWrcOhyOytbeOGnGZovPN3lsw= Received: by 10.204.9.152 with SMTP id l24mr998948bkl.193.1268322311111; Thu, 11 Mar 2010 07:45:11 -0800 (PST) Received: from localhost.localdomain (ip-88-119-226-136.static.b4net.lt [88.119.226.136]) by mx.google.com with ESMTPS id 14sm63369bwz.14.2010.03.11.07.45.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Mar 2010 07:45:10 -0800 (PST) From: Grazvydas Ignotas To: linux-wireless@vger.kernel.org Cc: Kalle Valo , Grazvydas Ignotas Subject: [PATCH 3/4] wl1251: reduce eeprom read wait time Date: Thu, 11 Mar 2010 17:45:07 +0200 Message-Id: <1268322307-16694-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 1.6.3.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 11 Mar 2010 15:45:14 +0000 (UTC) diff --git a/drivers/net/wireless/wl12xx/wl1251_boot.c b/drivers/net/wireless/wl12xx/wl1251_boot.c index 28a8086..acb3341 100644 --- a/drivers/net/wireless/wl12xx/wl1251_boot.c +++ b/drivers/net/wireless/wl12xx/wl1251_boot.c @@ -496,7 +496,8 @@ int wl1251_boot(struct wl1251 *wl) /* 2. start processing NVS file */ if (wl->use_eeprom) { wl1251_reg_write32(wl, ACX_REG_EE_START, START_EEPROM_MGR); - msleep(4000); + /* Wait for EEPROM NVS burst read to complete */ + msleep(40); wl1251_reg_write32(wl, ACX_EEPROMLESS_IND_REG, USE_EEPROM); } else { ret = wl1251_boot_upload_nvs(wl);