]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: dummy_hcd: move ep initialisation HW setup
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 23 Jun 2011 12:26:12 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:12 +0000 (14:31 -0700)
commit70466e50ecfa788eb53d4fc7db566e785c4505de
treef6aeb60ebfda7a28083580038384d8710a84ae46
parent8bc92a78d35d911fdb8779c293209508f1bd6512
usb: gadget: dummy_hcd: move ep initialisation HW setup

This is only required to be done once. There is no counter part to this
in ->stop() so there is no need to re-do it next time. While here also
init the max_stream size to 0 on SS speed.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c