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

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

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

parents 53582a26 3e0d1c8b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);