usb: gadget: s3c-hsotg: fix maxpacket size in s3c_hsotg_irq_enumdone
authorRobert Baldyga <r.baldyga@samsung.com>
Fri, 6 Dec 2013 12:03:44 +0000 (13:03 +0100)
committerFelipe Balbi <balbi@ti.com>
Thu, 12 Dec 2013 19:43:35 +0000 (13:43 -0600)
commit295538ff7e5389d5aee5845c548f114b793d60c9
tree53038990c5917cba6874f0f4fa8e91235792c6dd
parent31e322272d9d7da0724ae6e3180478575aa48909
usb: gadget: s3c-hsotg: fix maxpacket size in s3c_hsotg_irq_enumdone

This patch set maximum possible maxpacket value for each speed. Previous
values didn't allow to use maxpacket sizes greater than 64 in full speed
and 512 in high speed, although hardware is able to handle up to 1023 in fs
and 1024 in hs.

Tested-by: Matt Porter <mporter@linaro.org>
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