Loading drivers/platform/msm/mhi_dev/mhi.c +5 −0 Original line number Diff line number Diff line Loading @@ -1483,6 +1483,7 @@ static void mhi_dev_scheduler(struct work_struct *work) enum mhi_dev_state state; enum mhi_dev_event event = 0; bool mhi_reset = false; uint32_t bhi_imgtxdb = 0; mutex_lock(&mhi_ctx->mhi_lock); /* Check for interrupts */ Loading Loading @@ -1520,6 +1521,10 @@ static void mhi_dev_scheduler(struct work_struct *work) pr_err("error sending SM event\n"); goto fail; } rc = mhi_dev_mmio_read(mhi, BHI_IMGTXDB, &bhi_imgtxdb); mhi_log(MHI_MSG_VERBOSE, "BHI_IMGTXDB = 0x%x\n", bhi_imgtxdb); } if (int_value & MHI_MMIO_CTRL_CRDB_STATUS_MSK) { Loading drivers/platform/msm/mhi_dev/mhi_hwio.h +3 −1 Original line number Diff line number Diff line /* Copyright (c) 2015, 2017 The Linux Foundation. All rights reserved. /* Copyright (c) 2015, 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 Loading Loading @@ -192,4 +192,6 @@ #define BHI_EXECENV_MASK 0xFFFFFFFF #define BHI_EXECENV_SHIFT 0 #define BHI_IMGTXDB (0x218) #endif Loading
drivers/platform/msm/mhi_dev/mhi.c +5 −0 Original line number Diff line number Diff line Loading @@ -1483,6 +1483,7 @@ static void mhi_dev_scheduler(struct work_struct *work) enum mhi_dev_state state; enum mhi_dev_event event = 0; bool mhi_reset = false; uint32_t bhi_imgtxdb = 0; mutex_lock(&mhi_ctx->mhi_lock); /* Check for interrupts */ Loading Loading @@ -1520,6 +1521,10 @@ static void mhi_dev_scheduler(struct work_struct *work) pr_err("error sending SM event\n"); goto fail; } rc = mhi_dev_mmio_read(mhi, BHI_IMGTXDB, &bhi_imgtxdb); mhi_log(MHI_MSG_VERBOSE, "BHI_IMGTXDB = 0x%x\n", bhi_imgtxdb); } if (int_value & MHI_MMIO_CTRL_CRDB_STATUS_MSK) { Loading
drivers/platform/msm/mhi_dev/mhi_hwio.h +3 −1 Original line number Diff line number Diff line /* Copyright (c) 2015, 2017 The Linux Foundation. All rights reserved. /* Copyright (c) 2015, 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 Loading Loading @@ -192,4 +192,6 @@ #define BHI_EXECENV_MASK 0xFFFFFFFF #define BHI_EXECENV_SHIFT 0 #define BHI_IMGTXDB (0x218) #endif