summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/qrtr/mhi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/qrtr/mhi.c b/net/qrtr/mhi.c
index 7100f0bac4c6..2bf2b1943e61 100644
--- a/net/qrtr/mhi.c
+++ b/net/qrtr/mhi.c
@@ -104,6 +104,7 @@ static void qcom_mhi_qrtr_remove(struct mhi_device *mhi_dev)
struct qrtr_mhi_dev *qdev = dev_get_drvdata(&mhi_dev->dev);
qrtr_endpoint_unregister(&qdev->ep);
+ mhi_unprepare_from_transfer(mhi_dev);
dev_set_drvdata(&mhi_dev->dev, NULL);
}