Merge "mhi: core: Set bhi and bhie to NULL upon power down"

This commit is contained in:
qctecmdr 2020-08-18 04:33:28 -07:00 • committed by Gerrit - the friendly Code Review server
commit 4cf691d25d

View file

@ -1114,6 +1114,10 @@ void mhi_power_down(struct mhi_controller *mhi_cntrl, bool graceful)
}
mhi_deinit_dev_ctxt(mhi_cntrl);
}
/* reset set bhi and bhie to prevent reg access */
mhi_cntrl->bhi = NULL;
mhi_cntrl->bhie = NULL;
}
EXPORT_SYMBOL(mhi_power_down);