mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
Merge "soc: qcom: msm_glink_ssr: Notify on powerup failure"
This commit is contained in:
commit
1ba8da95ea
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/of.h>
|
||||
|
|
@ -74,7 +74,7 @@ static int glink_ssr_ssr_cb(struct notifier_block *this,
|
|||
struct do_cleanup_msg msg;
|
||||
int ret;
|
||||
|
||||
if (code == SUBSYS_AFTER_SHUTDOWN) {
|
||||
if (code == SUBSYS_AFTER_SHUTDOWN || code == SUBSYS_POWERUP_FAILURE) {
|
||||
ssr->seq_num++;
|
||||
reinit_completion(&ssr->completion);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue