Merge "soc: qcom: qdss_bridge: add support for SSR"
This commit is contained in:
commit
d10ff5a6dc
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* 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
|
* 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
|
* 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);
|
queue_work(drvdata->mhi_wq, &drvdata->close_work);
|
||||||
break;
|
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:
|
default:
|
||||||
pr_err_ratelimited("MHI returned invalid cb reason 0x%x\n",
|
pr_err_ratelimited("MHI returned invalid cb reason 0x%x\n",
|
||||||
cb_info->cb_reason);
|
cb_info->cb_reason);
|
||||||
|
|
Loading…
Add table
Reference in a new issue