mhi: core: Enable additional MHI logging
Enable additional MHI logs for monitoring SSR flow. CRs-Fixed: 773805 Change-Id: I579c083ad9ec0238ab3a6d51fec25b4ce5ccf62a Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>
This commit is contained in:
parent
85f8377784
commit
c5af65b962
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2014-2015, 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
|
||||
|
@ -12,7 +12,7 @@
|
|||
#ifndef _H_MHI_MACROS
|
||||
#define _H_MHI_MACROS
|
||||
|
||||
#define MHI_IPC_LOG_PAGES (50)
|
||||
#define MHI_IPC_LOG_PAGES (100)
|
||||
#define MHI_LOG_SIZE 0x1000
|
||||
#define MHI_LINK_STABILITY_WAIT_MS 100
|
||||
#define MHI_MAX_LINK_RETRIES 9
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2014-2015, 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
|
||||
|
@ -50,8 +50,8 @@ static int mhi_ssr_notify_cb(struct notifier_block *nb,
|
|||
case SUBSYS_BEFORE_SHUTDOWN:
|
||||
mhi_log(MHI_MSG_INFO,
|
||||
"Received Subsystem event BEFORE_SHUTDOWN\n");
|
||||
atomic_set(&mhi_dev_ctxt->flags.pending_ssr, 1);
|
||||
mhi_notify_clients(mhi_dev_ctxt, MHI_CB_MHI_DISABLED);
|
||||
atomic_set(&mhi_dev_ctxt->flags.pending_ssr, 1);
|
||||
break;
|
||||
case SUBSYS_AFTER_SHUTDOWN:
|
||||
mhi_log(MHI_MSG_INFO,
|
||||
|
|
Loading…
Add table
Reference in a new issue