mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <log.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <usb.h>
|
||||
#include <watchdog.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <linux/bug.h>
|
||||
#include <linux/errno.h>
|
||||
@@ -796,6 +797,8 @@ int xhci_bulk_tx(struct usb_device *udev, unsigned long pipe,
|
||||
/* Calculate length for next transfer */
|
||||
addr += trb_buff_len;
|
||||
trb_buff_len = min((length - running_total), TRB_MAX_BUFF_SIZE);
|
||||
|
||||
schedule();
|
||||
} while (running_total < length);
|
||||
|
||||
giveback_first_trb(udev, ep_index, start_cycle, start_trb);
|
||||
|
||||
@@ -1134,8 +1134,6 @@ void xhci_hcd_stop(int index);
|
||||
/*************************************************************
|
||||
EXTENDED CAPABILITY DEFINITIONS
|
||||
*************************************************************/
|
||||
/* Up to 16 ms to halt an HC */
|
||||
#define XHCI_MAX_HALT_USEC (16*1000)
|
||||
/* HC not running - set to 1 when run/stop bit is cleared. */
|
||||
#define XHCI_STS_HALT (1 << 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user