Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d10ff5a6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: qdss_bridge: add support for SSR"

parents 74b6b84c 352e75bb
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -352,6 +352,14 @@ static void mhi_notifier(struct mhi_cb_info *cb_info)
		queue_work(drvdata->mhi_wq, &drvdata->close_work);
		break;

	case MHI_CB_SYS_ERROR:
	case MHI_CB_MHI_SHUTDOWN:
		drvdata->opened = 0;

		flush_workqueue(drvdata->mhi_wq);
		qdss_destroy_buf_tbl(drvdata);
		break;

	default:
		pr_err_ratelimited("MHI returned invalid cb reason 0x%x\n",
		       cb_info->cb_reason);