diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2013-10-09 09:00:02 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-10-11 15:46:30 +0200 |
commit | 4fca54aa5829328a356aea31895b817dacba2861 (patch) | |
tree | b7d1fa27e5466ad0678301a526eb0d783f534248 /drivers/s390 | |
parent | usb: gadget: s3c-hsotg: add isochronous transfers support (diff) | |
download | linux-4fca54aa5829328a356aea31895b817dacba2861.tar.xz linux-4fca54aa5829328a356aea31895b817dacba2861.zip |
usb: gadget: s3c-hsotg: add multi count support
This patch adds Multi Count support. It adds few modifications:
- Fix s3c_hsotg_set_ep_maxpacket() function. Field wMaxPacketSize of endpoint
descriptor is now splitted into maximum packet size value and number of
additional transaction per microframe.
- Modify s3c_hsotg_write_fifo() function. It actually calculates transfer
size, taking into account Multi Count value, which indicates number of
transactions per microframe.
- Fix s3c_hsotg_start_req() function by setting number of packets to Multi
Count field in DIEPTSIZ register for isochronous endpoints.
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions