wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()
authorTony Lindgren <tony@atomide.com>
Tue, 19 Jun 2018 09:43:35 +0000 (02:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Oct 2018 00:00:52 +0000 (17:00 -0700)
commite87efc44dd36ba3db59847c418354711ebad779b
tree2f5728fa7f384e37469bcbf0b43a43f00efe506e
parentdad01c56989a91c1bbce8b8ae7eab124bb11dac7
wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()

[ Upstream commit 4ec7cece87b3ed21ffcd407c62fb2f151a366bc1 ]

Otherwise we can get:

WARNING: CPU: 0 PID: 55 at drivers/net/wireless/ti/wlcore/io.h:84

I've only seen this few times with the runtime PM patches enabled
so this one is probably not needed before that. This seems to
work currently based on the current PM implementation timer. Let's
apply this separately though in case others are hitting this issue.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ti/wlcore/cmd.c