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: NRoman Bacik <rbacik@broadcom.com> Reviewed-by: NAbhinav Ratna <aratna@broadcom.com> Reviewed-by: NSrinath Mannam <srinath.mannam@broadcom.com> Signed-off-by: NScott Branden <sbranden@broadcom.com> Signed-off-by: NJohn Youn <johnyoun@synopsys.com> Signed-off-by: NFelipe Balbi <balbi@ti.com>
Showing
想要评论请 注册 或 登录