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)
commit0fb5759952e934dd5ff25fd79f45cb5d69c8d2d1
treef6aeb60ebfda7a28083580038384d8710a84ae46
parent765f5b830e547229bb752e7b232ee83e2b3d49d5
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
This page took 0.030218 seconds and 5 git commands to generate.