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

Commit 5c84a3c7 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 e5d85696 ce91ce71
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1917,6 +1917,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)