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

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

Merge "byte-cntr: Add init_completion for small data transfer"

parents 43987109 db13a82c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -340,6 +340,8 @@ static int usb_transfer_small_packet(struct qdss_request *usb_req,
			goto out;
		}

		init_completion(&usb_req->write_done);

		actual = tmc_etr_buf_get_data(etr_buf, drvdata->offset,
					req_size, &usb_req->buf);
		usb_req->length = actual;