usb: dwc2: gadget: Set the default EP max packet value as 8 bytes
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Aug 2014 03:04:09 +0000 (12:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Aug 2014 20:12:27 +0000 (13:12 -0700)
commit9b2667f1f30e91becc3751acd5cffaedcf68e098
tree6a3d742c71be23840ff52d73e0d93741b54055a9
parent5cbcc35e5bf0eae3c7494ce3efefffc9977827ae
usb: dwc2: gadget: Set the default EP max packet value as 8 bytes

Set the default EP max packet value as 8 bytes, because in the case
of low-speed, 'ep_mps' is not set. Thus, the default value of 'ep_mps'
should be considered for the case of low-speed.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/gadget.c