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

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

Merge "qdss_bridge : Release entry in success/failure cases of usb write"

parents e1736555 2406ece1
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -429,11 +429,9 @@ static void mhi_read_done_work_fn(struct work_struct *work)
static void usb_write_done(struct qdss_bridge_drvdata *drvdata,
				   struct qdss_request *d_req)
{
	if (d_req->status) {
	if (d_req->status)
		pr_err_ratelimited("USB write failed err:%d\n", d_req->status);
		mhi_queue_read(drvdata);
		return;
	}

	qdss_buf_tbl_remove(drvdata, d_req->buf);
	mhi_queue_read(drvdata);
}