]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: wakeup from ELP before starting recovery
authorBarak Bercovitz <barak@wizery.com>
Mon, 9 Sep 2013 09:24:41 +0000 (12:24 +0300)
committerLuciano Coelho <luciano.coelho@intel.com>
Wed, 23 Oct 2013 06:47:43 +0000 (09:47 +0300)
commit70d9825b3c4bcbd7a3438c7da724a1abfbcd6e61
tree129a5d3ab7de74474acfbdefe91c1b71c5bd49c3
parent70fb7763e7d99f01ca0bd29d1176be628a4d34d9
wlcore: wakeup from ELP before starting recovery

Make sure the FW is awake when entering recovery. This is useful for
reading the FW panic log and also some FW registers giving us crash
report stats.

We must do this before interrupts are disabled since we rely on an
interrupt to complete the wakeup.

If the wakeup fails, continue recovery normally. All read/writes will be
blocked and won't do any harm.

Signed-off-by: Barak Bercovitz <barak@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/ti/wlcore/main.c