summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
diff options
context:
space:
mode:
authorZhang Bo <bo.zhang@nxp.com>2017-06-13 10:39:20 +0800
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-06-13 20:37:01 +0200
commit436c4c45b5b9562b59cedbb51b7343ab4a6dd8cc (patch)
treefbb0404c6f5a627b349e590a5b324df24a5faa6a /drivers/net/wireless/intel/iwlwifi/mvm/tt.c
parent4f02b50ece11dcf75263fb7a4cfe8a5df1cfabea (diff)
downloadlinux-436c4c45b5b9562b59cedbb51b7343ab4a6dd8cc.tar.gz
linux-436c4c45b5b9562b59cedbb51b7343ab4a6dd8cc.tar.bz2
linux-436c4c45b5b9562b59cedbb51b7343ab4a6dd8cc.zip
Revert "leds: handle suspend/resume in heartbeat trigger"
This reverts commit 5ab92a7cb82c66bf30685583a38a18538e3807db. System cannot enter suspend mode because of heartbeat led trigger. In autosleep_wq, try_to_suspend function will try to enter suspend mode in specific period. it will get wakeup_count then call pm_notifier chain callback function and freeze processes. Heartbeat_pm_notifier is called and it call led_trigger_unregister to change the trigger of led device to none. It will send uevent message and the wakeup source count changed. As wakeup_count changed, suspend will abort. Fixes: 5ab92a7cb82c ("leds: handle suspend/resume in heartbeat trigger") Signed-off-by: Zhang Bo <bo.zhang@nxp.com> Acked-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/tt.c')
0 files changed, 0 insertions, 0 deletions