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

Commit 5b543031 authored by Sujeev Dias's avatar Sujeev Dias Committed by Gerrit - the friendly Code Review server
Browse files

mhi: core: Do not clear transaction status



MHI transaction status stores the OVERFLOW status
received from device.  MHI clients uses this
status to determine overflow buffers, do
not clear the status.

CRs-Fixed: 1042516
Change-Id: Iaaff06c1c39775d6a33ca17851f1e1579b2a2ecb
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent c16ea208
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -873,7 +873,6 @@ static void parse_inbound_bb(struct mhi_device_ctxt *mhi_dev_ctxt,

	result->buf_addr = bb->client_buf;
	result->bytes_xferd = bb->filled_size;
	result->transaction_status = 0;

	/* At this point the bounce buffer is no longer necessary
	 * Whatever was received from the device was copied back to the