Loading drivers/platform/msm/mhi_dev/mhi_uci.c +28 −1 Original line number Diff line number Diff line Loading @@ -87,6 +87,8 @@ struct chan_attr { bool wr_cmpl; /* Uevent broadcast of channel state */ bool state_bcast; /* Skip node creation if not needed */ bool skip_node; /* Number of write request structs to allocate */ u32 num_wr_reqs; Loading Loading @@ -219,6 +221,29 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, true }, { MHI_CLIENT_DCI_OUT, TRB_MAX_DATA_SIZE, MAX_NR_TRBS_PER_CHAN, MHI_DIR_OUT, NULL, NULL, NULL, false, true }, { MHI_CLIENT_DCI_IN, TRB_MAX_DATA_SIZE, MAX_NR_TRBS_PER_CHAN, MHI_DIR_IN, NULL, NULL, NULL, false, false, true }, { MHI_CLIENT_DUN_OUT, TRB_MAX_DATA_SIZE, Loading @@ -237,6 +262,7 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, false, false, false, 50 }, { Loading Loading @@ -1835,7 +1861,8 @@ int mhi_uci_init(void) * this client's channels is called by the MHI driver, * if one is registered. */ if (mhi_client->in_chan_attr->chan_state_cb) if (mhi_client->in_chan_attr->chan_state_cb || mhi_client->in_chan_attr->skip_node) continue; ret_val = uci_device_create(mhi_client); if (ret_val) Loading Loading
drivers/platform/msm/mhi_dev/mhi_uci.c +28 −1 Original line number Diff line number Diff line Loading @@ -87,6 +87,8 @@ struct chan_attr { bool wr_cmpl; /* Uevent broadcast of channel state */ bool state_bcast; /* Skip node creation if not needed */ bool skip_node; /* Number of write request structs to allocate */ u32 num_wr_reqs; Loading Loading @@ -219,6 +221,29 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, true }, { MHI_CLIENT_DCI_OUT, TRB_MAX_DATA_SIZE, MAX_NR_TRBS_PER_CHAN, MHI_DIR_OUT, NULL, NULL, NULL, false, true }, { MHI_CLIENT_DCI_IN, TRB_MAX_DATA_SIZE, MAX_NR_TRBS_PER_CHAN, MHI_DIR_IN, NULL, NULL, NULL, false, false, true }, { MHI_CLIENT_DUN_OUT, TRB_MAX_DATA_SIZE, Loading @@ -237,6 +262,7 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, false, false, false, 50 }, { Loading Loading @@ -1835,7 +1861,8 @@ int mhi_uci_init(void) * this client's channels is called by the MHI driver, * if one is registered. */ if (mhi_client->in_chan_attr->chan_state_cb) if (mhi_client->in_chan_attr->chan_state_cb || mhi_client->in_chan_attr->skip_node) continue; ret_val = uci_device_create(mhi_client); if (ret_val) Loading