Loading drivers/bus/mhi/core/mhi_dtr.c +4 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018, The Linux Foundation. All rights reserved.*/ /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.*/ #include <linux/debugfs.h> #include <linux/device.h> Loading Loading @@ -164,6 +164,9 @@ static void mhi_dtr_dl_xfer_cb(struct mhi_device *mhi_dev, if (dtr_msg->msg & CTRL_MSG_RI) mhi_dev->tiocm |= TIOCM_RI; spin_unlock_irq(res_lock); /* Notify the update */ mhi_notify(mhi_dev, MHI_CB_DTR_SIGNAL); } static void mhi_dtr_ul_xfer_cb(struct mhi_device *mhi_dev, Loading drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c +1 −0 Original line number Diff line number Diff line Loading @@ -2420,6 +2420,7 @@ static void ipa_mpm_mhi_status_cb(struct mhi_device *mhi_dev, case MHI_CB_SYS_ERROR: case MHI_CB_FATAL_ERROR: case MHI_CB_EE_MISSION_MODE: case MHI_CB_DTR_SIGNAL: IPA_MPM_ERR("unexpected event %d\n", mhi_cb); break; } Loading include/linux/mhi.h +2 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ struct mhi_buf_info; * enum MHI_CB - MHI callback * @MHI_CB_IDLE: MHI entered idle state * @MHI_CB_PENDING_DATA: New data available for client to process * @MHI_CB_DTR_SIGNAL: DTR signaling update * @MHI_CB_LPM_ENTER: MHI host entered low power mode * @MHI_CB_LPM_EXIT: MHI host about to exit low power mode * @MHI_CB_EE_RDDM: MHI device entered RDDM execution enviornment Loading @@ -27,6 +28,7 @@ struct mhi_buf_info; enum MHI_CB { MHI_CB_IDLE, MHI_CB_PENDING_DATA, MHI_CB_DTR_SIGNAL, MHI_CB_LPM_ENTER, MHI_CB_LPM_EXIT, MHI_CB_EE_RDDM, Loading Loading
drivers/bus/mhi/core/mhi_dtr.c +4 −1 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2018, The Linux Foundation. All rights reserved.*/ /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.*/ #include <linux/debugfs.h> #include <linux/device.h> Loading Loading @@ -164,6 +164,9 @@ static void mhi_dtr_dl_xfer_cb(struct mhi_device *mhi_dev, if (dtr_msg->msg & CTRL_MSG_RI) mhi_dev->tiocm |= TIOCM_RI; spin_unlock_irq(res_lock); /* Notify the update */ mhi_notify(mhi_dev, MHI_CB_DTR_SIGNAL); } static void mhi_dtr_ul_xfer_cb(struct mhi_device *mhi_dev, Loading
drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c +1 −0 Original line number Diff line number Diff line Loading @@ -2420,6 +2420,7 @@ static void ipa_mpm_mhi_status_cb(struct mhi_device *mhi_dev, case MHI_CB_SYS_ERROR: case MHI_CB_FATAL_ERROR: case MHI_CB_EE_MISSION_MODE: case MHI_CB_DTR_SIGNAL: IPA_MPM_ERR("unexpected event %d\n", mhi_cb); break; } Loading
include/linux/mhi.h +2 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ struct mhi_buf_info; * enum MHI_CB - MHI callback * @MHI_CB_IDLE: MHI entered idle state * @MHI_CB_PENDING_DATA: New data available for client to process * @MHI_CB_DTR_SIGNAL: DTR signaling update * @MHI_CB_LPM_ENTER: MHI host entered low power mode * @MHI_CB_LPM_EXIT: MHI host about to exit low power mode * @MHI_CB_EE_RDDM: MHI device entered RDDM execution enviornment Loading @@ -27,6 +28,7 @@ struct mhi_buf_info; enum MHI_CB { MHI_CB_IDLE, MHI_CB_PENDING_DATA, MHI_CB_DTR_SIGNAL, MHI_CB_LPM_ENTER, MHI_CB_LPM_EXIT, MHI_CB_EE_RDDM, Loading