]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: gadget: Program ep0_mps for LS
authorVardan Mikayelyan <mvardan@synopsys.com>
Tue, 15 Nov 2016 03:17:00 +0000 (19:17 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:50 +0000 (13:54 +0200)
commit552d940f0bea0c010615b45ed7c64e7b3b103e6a
treee1668353660293260a0f2b665debc65f587b5114
parent1e6b98ebd458e63b9effda2feb696e36644d4eed
usb: dwc2: gadget: Program ep0_mps for LS

When device is enumerated in LS we should program ep0_mps accordingly.
USB2 spec says that in LS mode, control ep mps must be 8.

Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c