mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "pci: msm: Flush workqueue and destroy it in mhi controller unregister"
This commit is contained in:
commit
dc28e64e51
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue