diff options
author | Eliad Peller <eliad@wizery.com> | 2011-04-02 23:01:59 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-05-02 07:25:27 (GMT) |
commit | a665d6e260f0233aac73f74d15bb6a029cc5ec47 (patch) | |
tree | d795995e4796d1b14e9a096ac2ca0bbdaf43b78c /drivers/ide/cmd64x.c | |
parent | c75bbcdb200e2815c855e42a4685d170858af306 (diff) | |
download | linux-fsl-qoriq-a665d6e260f0233aac73f74d15bb6a029cc5ec47.tar.xz |
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>
Diffstat (limited to 'drivers/ide/cmd64x.c')
0 files changed, 0 insertions, 0 deletions