Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc28e64e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "pci: msm: Flush workqueue and destroy it in mhi controller unregister"

parents 7e67432a d37fe086
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1746,6 +1746,8 @@ void mhi_unregister_mhi_controller(struct mhi_controller *mhi_cntrl)
	struct mhi_device *mhi_dev = mhi_cntrl->mhi_dev;
	struct mhi_sfr_info *sfr_info = mhi_cntrl->mhi_sfr;

	destroy_workqueue(mhi_cntrl->wq);

	kfree(mhi_cntrl->mhi_cmd);
	kfree(mhi_cntrl->mhi_event);
	vfree(mhi_cntrl->mhi_chan);