path: root/net/qrtr/mhi.c
diff options
authorManivannan Sadhasivam <>2021-12-16 13:42:25 +0530
committerGreg Kroah-Hartman <>2021-12-17 17:17:14 +0100
commit227fee5fc99eeb74d43bf68832f6d59d30ac07d8 (patch)
tree55a63fc3ca74db001f0c9b6e8b17ed7acc611f81 /net/qrtr/mhi.c
parentd651ce8e917fa1bf6cfab8dca74c512edffc35d3 (diff)
bus: mhi: core: Add an API for auto queueing buffers for DL channel
Add a new API "mhi_prepare_for_transfer_autoqueue" for using with client drivers like QRTR to request MHI core to autoqueue buffers for the DL channel along with starting both UL and DL channels. So far, the "auto_queue" flag specified by the controller drivers in channel definition served this purpose but this will be removed at some point in future. Cc: Cc: Jakub Kicinski <> Cc: David S. Miller <> Cc: Greg Kroah-Hartman <> Co-developed-by: Loic Poulain <> Acked-by: Jakub Kicinski <> Signed-off-by: Loic Poulain <> Signed-off-by: Manivannan Sadhasivam <> Link: Signed-off-by: Greg Kroah-Hartman <>
Diffstat (limited to 'net/qrtr/mhi.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/net/qrtr/mhi.c b/net/qrtr/mhi.c
index fa611678af05..18196e1c8c2f 100644
--- a/net/qrtr/mhi.c
+++ b/net/qrtr/mhi.c
@@ -79,7 +79,7 @@ static int qcom_mhi_qrtr_probe(struct mhi_device *mhi_dev,
int rc;
/* start channels */
- rc = mhi_prepare_for_transfer(mhi_dev);
+ rc = mhi_prepare_for_transfer_autoqueue(mhi_dev);
if (rc)
return rc;