Loading drivers/bus/mhi/core/mhi_dtr.c +4 −1 Original line number Diff line number Diff line /* Copyright (c) 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2018-2019, 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 @@ -173,6 +173,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 include/linux/mhi.h +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,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 @@ -36,6 +37,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 /* Copyright (c) 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2018-2019, 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 @@ -173,6 +173,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
include/linux/mhi.h +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,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 @@ -36,6 +37,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