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

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

Merge "usb: dwc3: Fix handling of ISOC start transfer"

parents 9996e424 56b1ee72
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -350,9 +350,6 @@ int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
			dev_vdbg(dwc->dev, "Command Complete --> %d\n",
					DWC3_DEPCMD_STATUS(reg));

			if (DWC3_DEPCMD_STATUS(reg))
				return -EINVAL;

			/* SW issues START TRANSFER command to isochronous ep
			 * with future frame interval. If future interval time
			 * has already passed when core recieves command, core
@@ -361,7 +358,8 @@ int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
			 */
			if (reg & 0x2000)
				return -EAGAIN;
			else
			else if (DWC3_DEPCMD_STATUS(reg))
				return -EINVAL;
			return 0;
		}