commit | a454969ede024a209e6a755d5f7a928ab81ed00c | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Wed Jan 11 09:42:40 2012 +0200 |
committer | Luciano Coelho <coelho@ti.com> | Wed Feb 15 08:38:28 2012 +0200 |
tree | 585296f78c132e320471a0d5acc022fef8fcc288 | |
parent | f3df1331f25f782e838a3ecb72cec86b539ac02f [diff] |
wl12xx: Power off after flushing work When stopping plt, the chip is powered off before all current work items are flushed and interrupts are disabled. This might introduce a race in which the driver tries to communicate with a powered off chip. Fix this by powering off the device only after interrupts are disabled and all work items are flushed. Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>