Skip to content
Commit ec1f9d9f authored by Roman Bacik's avatar Roman Bacik Committed by Felipe Balbi
Browse files

usb: dwc2: gadget: parity fix in isochronous mode



USB OTG driver in isochronous mode has to set the parity of the receiving
microframe. The parity is set to even by default. This causes problems for
an audio gadget, if the host starts transmitting on odd microframes.

This fix uses Incomplete Periodic Transfer interrupt to toggle between
even and odd parity until the Transfer Complete interrupt is received.

Signed-off-by: default avatarRoman Bacik <rbacik@broadcom.com>
Reviewed-by: default avatarAbhinav Ratna <aratna@broadcom.com>
Reviewed-by: default avatarSrinath Mannam <srinath.mannam@broadcom.com>
Signed-off-by: default avatarScott Branden <sbranden@broadcom.com>
Signed-off-by: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5ee2a003
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment