mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
usbtty: init endpoints prior to startup events
On some usb device controllers (pxa) the endpoint configuration must be programmed prior to enable it. Signed-off-by: Stefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de> CC: Marek Vasut <marek.vasut@gmail.com> CC: Remy Bohmer <linux@bohmer.net>
This commit is contained in:
parent
bdbcdc897f
commit
241d9a61b3
1 changed files with 2 additions and 2 deletions
|
|
@ -554,11 +554,11 @@ int drv_usbtty_init (void)
|
|||
usbtty_init_strings ();
|
||||
usbtty_init_instances ();
|
||||
|
||||
usbtty_init_endpoints ();
|
||||
|
||||
udc_startup_events (device_instance);/* Enable dev, init udc pointers */
|
||||
udc_connect (); /* Enable pullup for host detection */
|
||||
|
||||
usbtty_init_endpoints ();
|
||||
|
||||
/* Device initialization */
|
||||
memset (&usbttydev, 0, sizeof (usbttydev));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue