Loading drivers/platform/msm/mhi_dev/mhi_uci.c +29 −2 Original line number Diff line number Diff line Loading @@ -92,6 +92,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 @@ -230,6 +232,29 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, true }, { MHI_CLIENT_IPCR_OUT, TRB_MAX_DATA_SIZE, MAX_NR_TRBS_PER_CHAN, MHI_DIR_OUT, NULL, NULL, NULL, false, true }, { MHI_CLIENT_IPCR_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 @@ -251,6 +276,7 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, false, true, true, 50 }, { Loading @@ -275,7 +301,7 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, NULL, false, true false }, }; Loading Loading @@ -1971,7 +1997,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 +29 −2 Original line number Diff line number Diff line Loading @@ -92,6 +92,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 @@ -230,6 +232,29 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, true }, { MHI_CLIENT_IPCR_OUT, TRB_MAX_DATA_SIZE, MAX_NR_TRBS_PER_CHAN, MHI_DIR_OUT, NULL, NULL, NULL, false, true }, { MHI_CLIENT_IPCR_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 @@ -251,6 +276,7 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, false, true, true, 50 }, { Loading @@ -275,7 +301,7 @@ static const struct chan_attr uci_chan_attr_table[] = { NULL, NULL, false, true false }, }; Loading Loading @@ -1971,7 +1997,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