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: Roman Bacik <rbacik@broadcom.com> Reviewed-by: Abhinav Ratna <aratna@broadcom.com> Reviewed-by: Srinath Mannam <srinath.mannam@broadcom.com> Signed-off-by: Scott Branden <sbranden@broadcom.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:

committed by
Felipe Balbi

parent
5ee2a003e8
commit
ec1f9d9f01
@@ -142,6 +142,7 @@
|
||||
#define GINTSTS_RESETDET (1 << 23)
|
||||
#define GINTSTS_FET_SUSP (1 << 22)
|
||||
#define GINTSTS_INCOMPL_IP (1 << 21)
|
||||
#define GINTSTS_INCOMPL_SOOUT (1 << 21)
|
||||
#define GINTSTS_INCOMPL_SOIN (1 << 20)
|
||||
#define GINTSTS_OEPINT (1 << 19)
|
||||
#define GINTSTS_IEPINT (1 << 18)
|
||||
|
Reference in New Issue
Block a user