diff options
author | Andrei Danaila <adanaila@codeaurora.org> | 2014-12-18 12:45:02 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:11:06 -0700 |
commit | c5af65b9620d3c6330fe90953bca0e460c87a79f (patch) | |
tree | f83ef105ffbd565f924bc5352f6a4b4bc363c2ba /drivers | |
parent | 85f8377784b79beff52a2f88e768226525427c52 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/msm/mhi/mhi_macros.h | 4 | ||||
-rw-r--r-- | drivers/platform/msm/mhi/mhi_ssr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/platform/msm/mhi/mhi_macros.h b/drivers/platform/msm/mhi/mhi_macros.h index 6151c2b033f4..791f8a484464 100644 --- a/drivers/platform/msm/mhi/mhi_macros.h +++ b/drivers/platform/msm/mhi/mhi_macros.h @@ -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 diff --git a/drivers/platform/msm/mhi/mhi_ssr.c b/drivers/platform/msm/mhi/mhi_ssr.c index b72500899558..45b27ccb65ad 100644 --- a/drivers/platform/msm/mhi/mhi_ssr.c +++ b/drivers/platform/msm/mhi/mhi_ssr.c @@ -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, |