From: Ido Yariv Date: Wed, 11 Jan 2012 07:42:40 +0000 (+0200) Subject: wl12xx: Power off after flushing work X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~126^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a454969ede024a209e6a755d5f7a928ab81ed00c;p=pandora-kernel.git 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 Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed