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

Commit 6418a880 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi_dev: mhi: Fix a bug in stop command processing"

parents 5b5116de d0e1b944
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -587,8 +587,6 @@ static int mhi_dev_process_stop_cmd(struct mhi_dev_ring *ring, uint32_t ch_id,
	int rc = 0;
	struct mhi_addr host_addr;

	mhi_dev_update_wr_offset(ring);

	if (ring->rd_offset != ring->wr_offset &&
		mhi->ch_ctx_cache[ch_id].ch_type ==
				MHI_DEV_CH_TYPE_OUTBOUND_CHANNEL) {