diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2020-11-20 09:26:55 +0300 |
---|---|---|
committer | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2020-11-20 09:26:55 +0300 |
commit | 7b7e4cee0299eddd73ea3874fa485a545a0ec2bc (patch) | |
tree | 0dc1216178c9f2690856fe4b4356fc66d5b3a24a /drivers/bus/mhi/core/init.c | |
parent | 6cc1716102b55497dd557e8295a3177315332f9a (diff) | |
parent | 2ca7e30d3b1ee370c96201e58f8c05ba2bdcd6d2 (diff) | |
download | linux-7b7e4cee0299eddd73ea3874fa485a545a0ec2bc.tar.xz |
Merge branch 'mhi-ath11k-immutable' into mhi-next
Diffstat (limited to 'drivers/bus/mhi/core/init.c')
-rw-r--r-- | drivers/bus/mhi/core/init.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/bus/mhi/core/init.c b/drivers/bus/mhi/core/init.c index 2534f1c9c153..655d539c6808 100644 --- a/drivers/bus/mhi/core/init.c +++ b/drivers/bus/mhi/core/init.c @@ -758,7 +758,6 @@ static int parse_ch_cfg(struct mhi_controller *mhi_cntrl, mhi_chan->offload_ch = ch_cfg->offload_channel; mhi_chan->db_cfg.reset_req = ch_cfg->doorbell_mode_switch; mhi_chan->pre_alloc = ch_cfg->auto_queue; - mhi_chan->auto_start = ch_cfg->auto_start; /* * If MHI host allocates buffers, then the channel direction @@ -1169,11 +1168,6 @@ static int mhi_driver_probe(struct device *dev) goto exit_probe; ul_chan->xfer_cb = mhi_drv->ul_xfer_cb; - if (ul_chan->auto_start) { - ret = mhi_prepare_channel(mhi_cntrl, ul_chan); - if (ret) - goto exit_probe; - } } ret = -EINVAL; @@ -1207,9 +1201,6 @@ static int mhi_driver_probe(struct device *dev) if (ret) goto exit_probe; - if (dl_chan && dl_chan->auto_start) - mhi_prepare_channel(mhi_cntrl, dl_chan); - mhi_device_put(mhi_dev); return ret; |