Eliad Peller a665d6e260 wl12xx: avoid premature elp entrance
The elp_work is being enqueued on wl1271_ps_elp_sleep, but doesn't get
cancelled on wl1271_ps_elp_wakeup. This might cause immediate entrance
to elp when the wl->mutex is being released, rather than using the delayed
enqueueing optimization.

Cancel elp_work on wakeup request, and add a new WL1271_FLAG_ELP_REQUESTED
flag to further synchronize the elp actions.

[Fixed a couple of typos in some comments -- Luca]

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
2011-05-02 10:25:27 +03:00
..
2011-03-28 07:42:58 -07:00
2011-03-29 18:19:06 +02:00
2011-03-29 14:50:42 +02:00
2011-03-22 17:43:59 -07:00
2011-03-18 17:15:11 -07:00
2011-03-22 17:43:59 -07:00
2011-05-02 10:25:27 +03:00
2011-03-23 14:55:56 -06:00
2011-03-29 14:48:08 +02:00
2011-03-22 17:44:17 -07:00
2011-03-29 14:48:13 +02:00
2011-03-28 19:33:04 +02:00
2011-03-29 10:01:05 -04:00