]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: s3c-hsotg: add isochronous transfers support
authorRobert Baldyga <r.baldyga@samsung.com>
Wed, 9 Oct 2013 06:41:57 +0000 (08:41 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 11 Oct 2013 13:45:32 +0000 (08:45 -0500)
commit713ce500c48d17d215d781281516b0f121e16208
treed9583826f8490695cd7d5bd6be48c29d7baad942
parent291902f9c8d49fa720a4e6d2347b56dc69cc5c99
usb: gadget: s3c-hsotg: add isochronous transfers support

This patch adds isochronous transfer support. It adds few modifications:
- Modify s3c_hsotg_epint() function. Some interrupts are ignored for
  isochronous endpoints, (e.g. INTknTXFEmpMsk) becouse isochronous request is
  always transfered in single transaction, which ends with XferCompl interrupt.
- Add Odd/Even microframe toggle to allow data transfering in each microframe
  in s3c_hsotg_epint() function.
- Fix s3c_hsotg_ep_enable() function by supporting isochronous endpoint type.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c