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

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

Merge "ks_bridge: Ignore completion error when payload is non zero"

parents c4239fc8 0f2c0b93
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -535,9 +535,12 @@ static void ksb_rx_cb(struct urb *urb)
				&& urb->status != -EPROTO)
			pr_err_ratelimited("%s: urb failed with err:%d",
					ksb->id_info.name, urb->status);

		if (!urb->actual_length) {
			ksb_free_data_pkt(pkt);
			goto done;
		}
	}

	usb_mark_last_busy(ksb->udev);