From: Juuso Oikarinen Date: Fri, 14 Jan 2011 11:48:46 +0000 (+0100) Subject: wl12xx: Cleanup PLT mode when module is removed X-Git-Tag: v2.6.39-rc1~468^2~417^2~61^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae3fa87854862d1724bf8f2f1e1b9b088fa53d7;p=pandora-kernel.git wl12xx: Cleanup PLT mode when module is removed PLT mode start/stop is controlled from userspace. When removing module, the PLT mode state is however not checked, and not cleared. There is the possibility of some unwanted state to left linger and there is even the possiblity of a kernel crash if for instance IRQ work is running when the module is removed. Fix this by stopping PLT mode on module removal, if still running. Signed-off-by: Juuso Oikarinen Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed