Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:64219 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823Ab0GFNpM (ORCPT ); Tue, 6 Jul 2010 09:45:12 -0400 MIME-Version: 1.0 In-Reply-To: <4C3323EA.902@nokia.com> References: <1278376666-3509-1-git-send-email-ohad@wizery.com> <1278376666-3509-6-git-send-email-ohad@wizery.com> <4C3323EA.902@nokia.com> From: Ohad Ben-Cohen Date: Tue, 6 Jul 2010 16:44:48 +0300 Message-ID: Subject: Re: [PATCH 05/15] omap: hsmmc: add virtual card detect support To: Roger Quadros Cc: Nicolas Pitre , "linux-wireless@vger.kernel.org" , "linux-mmc@vger.kernel.org" , "linux-omap@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux@arm.linux.org.uk" , Chikkature Rajashekar Madhusudhan , "Coelho Luciano (Nokia-MS/Helsinki)" , Andrew Morton , San Mehat , "Pandita, Vikram" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Jul 6, 2010 at 3:39 PM, Roger Quadros wrote: > Just to clarify, is the wl1271 device always powered on the board? Yes. > And this GPIO power enable (OMAP_ZOOM_WLAN_PMENA_GPIO) is used to gate this > supply internally? Yes. It's a digital input that the chip does not draw current from (well, only a very minimal one). > and what do these do ? > > set_bit(WL1271_FLAG_GPIO_POWER, &wl->flags); > > clear_bit(WL1271_FLAG_GPIO_POWER, &wl->flags); This is an internal driver bit that maintains the power state of the chip. AFAICT, it does not "do" anything. The only place I can see it is being used is in a debugfs entry.