author: Bhaumik Bhatt <bbhatt@codeaurora.org> 2020-10-15 11:47:51 -0700
committer: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 2020-11-18 15:20:34 +0530
commit: 9b627c25e70816a5e1dca940444b5029065b4d60
parent: 3650b228f83adda7e5ee532e2b90429c03f7b9ec
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/drivers/bus/mhi/core/init.c b/drivers/bus/mhi/core/init.c
index 0ffdebde8265..0a09f8215057 100644
--- a/drivers/bus/mhi/core/init.c
+++ b/drivers/bus/mhi/core/init.c
@@ -1276,10 +1276,8 @@ static int mhi_driver_remove(struct device *dev)
mutex_unlock(&mhi_chan->mutex);
}
- read_lock_bh(&mhi_cntrl->pm_lock);
while (mhi_dev->dev_wake)
mhi_device_put(mhi_dev);
- read_unlock_bh(&mhi_cntrl->pm_lock);
return 0;
}