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

Commit b6309984 authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Gerrit - the friendly Code Review server
Browse files

diag: Donot open mhi channels on usb connect



Donot open mhi channels during usb connect since
mhi channels are not closed during disconnect.
Mhi channels are opened/closed based on mhi
probe/remove calls.

Change-Id: Ie297a3fb8cf1e6c8d28af02e5d7bdf7ef4ee0fee
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
parent 6a1ffe01
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -86,8 +86,6 @@ static int diagfwd_bridge_mux_connect(int id, int mode)
{
	if (id < 0 || id >= NUM_REMOTE_DEV)
		return -EINVAL;
	if (bridge_info[id].dev_ops && bridge_info[id].dev_ops->open)
		bridge_info[id].dev_ops->open(id, bridge_info[id].ctxt);
	return 0;
}