]> git.baikalelectronics.ru Git - kernel.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)
commit18b23214e0d933fd08dd008c2e980ade72c59465
treef5712185a9ea5ca13139ad411d7e6bb185cf20c9
parent6b7c3963c9211d684f276f883db0772e6c37cb5c
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