diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2013-09-24 11:24:28 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-10-01 09:24:14 -0500 |
commit | b377216bd2d313b393ddd4b04c71f700842d104b (patch) | |
tree | 7952edab37dd2c06e5030bb41918f8a548bee478 /drivers/usb/musb/musb_gadget.c | |
parent | 8854894c040cd68b463dccf267308250b336df40 (diff) | |
download | kernel_goldelico_gta04-b377216bd2d313b393ddd4b04c71f700842d104b.zip kernel_goldelico_gta04-b377216bd2d313b393ddd4b04c71f700842d104b.tar.gz kernel_goldelico_gta04-b377216bd2d313b393ddd4b04c71f700842d104b.tar.bz2 |
usb: gadget: s3c-hsotg: fix can_write limit for non-periodic endpoints
Value of can_write variable in s3c_hsotg_write_fifo function should be limited
to 512 only for non-periodic endpoints. There was some discrepancy between
comment and code, because comment suggests correct behavior, but in the code
limit was applied to periodic endpoints too. So there is additional check
causing the limitation concerns only non-periodic 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/usb/musb/musb_gadget.c')
0 files changed, 0 insertions, 0 deletions