Hi all, Here's the fourth version of wlcore runtime PM changes. Please test one more time. For testing, please make sure you have also applied patch "[PATCHv2] wlcore: sdio: Fix flakey SDIO runtime PM handling" to avoid bogus errors. Regards, Tony Changes since v3: - Fixed remaining known issues caused by changes to runtime PM - Enabled autosuspend Changes since v2: - Add fix "wclore: Fix timout errors after recovery" that is not needed before runtime PM conversion - Add fix from Eyal for "wlcore: Use generic runtime pm calls for wowlan elp configuration" that is also not needed before runtime PM conversion - Return early from wlcore_runtime_resume() on ELP timeout to avoid clearing WL1271_FLAG_IN_ELP bit - Tag as RFT as we still need to do more testing and add runtime PM autosuspend support before merging - Drop "wlcore: sdio: Warn about runtime PM suspend errors" that should no longer be needed Changes since v1: - Fix issues reported by Eyal for recovery - Add few patches for enable/disable issues found when using runtime PM - Remove unused ps.h includes Eyal Reizer (1): wlcore: Use generic runtime pm calls for wowlan elp configuration Tony Lindgren (7): wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout() wlcore: Make sure PM calls are paired wlcore: Add support for runtime PM wlcore: Fix misplaced PM call for scan_complete_work() wclore: Fix timout errors after recovery wlcore: Make sure firmware is initialized in wl1271_op_add_interface() wlcore: Enable runtime PM autosuspend support drivers/net/wireless/ti/wl18xx/debugfs.c | 29 +- drivers/net/wireless/ti/wlcore/acx.c | 1 - drivers/net/wireless/ti/wlcore/cmd.c | 10 + drivers/net/wireless/ti/wlcore/debugfs.c | 90 ++-- drivers/net/wireless/ti/wlcore/main.c | 526 ++++++++++++++------ drivers/net/wireless/ti/wlcore/ps.c | 146 ------ drivers/net/wireless/ti/wlcore/ps.h | 3 - drivers/net/wireless/ti/wlcore/scan.c | 13 +- drivers/net/wireless/ti/wlcore/sysfs.c | 13 +- drivers/net/wireless/ti/wlcore/testmode.c | 20 +- drivers/net/wireless/ti/wlcore/tx.c | 10 +- drivers/net/wireless/ti/wlcore/vendor_cmd.c | 30 +- drivers/net/wireless/ti/wlcore/wlcore.h | 1 - drivers/net/wireless/ti/wlcore/wlcore_i.h | 1 - 14 files changed, 512 insertions(+), 381 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html