mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 19:47:12 -04: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
@ -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…
x
Reference in New Issue
Block a user