]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mwifiex: report error to PCIe for suspend failure
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 28 Sep 2016 12:48:22 +0000 (18:18 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Nov 2016 01:33:25 +0000 (03:33 +0200)
commit5190f2e405919cd30ba2f12c58129fb2d71cd6b6
treef5712185a9ea5ca13139ad411d7e6bb185cf20c9
parentec815dd2a5f110f627d7955e0027a3a008f68166
mwifiex: report error to PCIe for suspend failure

When host_sleep_config command fails, we should return an error to
PCIe, instead of continuing (and possibly panicking, when we try to keep
processing a timed-out ioctl after we return "successfully" from
suspend).

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c