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

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

Merge "mhi: core: Error handling for pending packets in mission_mode"

parents bc45e14d d495b8fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1939,6 +1939,7 @@ int mhi_prepare_channel(struct mhi_controller *mhi_cntrl,
	return 0;

error_dec_pendpkt:
	if (in_mission_mode)
		atomic_dec(&mhi_cntrl->pending_pkts);
error_pm_state:
	if (!mhi_chan->offload_ch)