]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Jun 2018 15:44:40 +0000 (18:44 +0300)
commit53d968cdcdd10d61efbf3fc3bf1e406f640dbdc4
treef1f1296fccdb1ff8a3e28af33e5fa6b1695cddc2
parent5975ba7924d67adefa2a4fc31736b86ae6eac560
wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()

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>
drivers/net/wireless/ti/wlcore/cmd.c