Hi all, Here's a series of patches to add runtime PM support for wlcore. It does not yet implement autosuspend support, but let's get this tested first as the autosuspend can mask enable/disable issues easily. Regards, Tony 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 Tony Lindgren (5): 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() wlcore: sdio: Warn about runtime PM suspend errors drivers/net/wireless/ti/wl18xx/debugfs.c | 26 +- drivers/net/wireless/ti/wlcore/acx.c | 1 - drivers/net/wireless/ti/wlcore/cmd.c | 9 + drivers/net/wireless/ti/wlcore/debugfs.c | 79 ++-- drivers/net/wireless/ti/wlcore/main.c | 404 ++++++++++++++------ drivers/net/wireless/ti/wlcore/ps.c | 146 ------- drivers/net/wireless/ti/wlcore/ps.h | 3 - drivers/net/wireless/ti/wlcore/scan.c | 12 +- drivers/net/wireless/ti/wlcore/sdio.c | 7 + drivers/net/wireless/ti/wlcore/sysfs.c | 12 +- drivers/net/wireless/ti/wlcore/testmode.c | 18 +- drivers/net/wireless/ti/wlcore/tx.c | 9 +- drivers/net/wireless/ti/wlcore/vendor_cmd.c | 27 +- drivers/net/wireless/ti/wlcore/wlcore.h | 1 - drivers/net/wireless/ti/wlcore/wlcore_i.h | 1 - 15 files changed, 421 insertions(+), 334 deletions(-) -- 2.17.0