[PATCH 05/15] omap: hsmmc: add virtual card detect support
Ohad Ben-Cohen
ohad at wizery.com
Tue Jul 6 09:44:48 EDT 2010
On Tue, Jul 6, 2010 at 3:39 PM, Roger Quadros <roger.quadros at nokia.com> 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.
More information about the linux-arm-kernel
mailing list