Search Linux Wireless

Re: [PATCH] wl12xx: rearrange some ELP wake_up/sleep calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-03-23 at 22:22 +0200, Eliad Peller wrote:
> ELP (Extremely/Enhanced Low Power, or something like that ;)) refers to
> the powerstate of the 12xx chip, in which very low power is consumed,
> and no commands (from the host) can be issued until the chip is woken up.
> 
> Wakeup/sleep commands must be protected by a wl->mutex, so it's generally
> a good idea to call wakeup/sleep along with the mutex lock/unlock (where
> needed). However, in some places the wl12xx driver calls wakeup/sleep in
> some "inner" functions. This result in some "nested" wakeup/sleep calls
> which might end up letting the chip go to sleep prematurely (e.g. during
> event handling).
> 
> Fix it by rearranging the elp calls to come along with mutex_lock/unlock.
> 
> Signed-off-by: Eliad Peller <eliad@xxxxxxxxxx>
> Signed-off-by: Ido Yariv <ido@xxxxxxxxxx>
> ---

Applied, thanks!

-- 
Cheers,
Luca.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux