mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "mhi: core: Set bhi and bhie to NULL upon power down"
This commit is contained in:
commit
4cf691d25d
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue