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,