summaryrefslogtreecommitdiff
path: root/src/host/ehci
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 20:20:45 +0700
committerhathach <[email protected]>2020-09-05 20:20:45 +0700
commit828f720207d4ded25ed533ea6c52da49c799b476 (patch)
tree54c0dbfdf9eeb0a01f5ee23ea1f380da526284f3 /src/host/ehci
parent7ffb6acc1625022d8a79c1d408b11240707136ca (diff)
refactor hub class
- separate connect/disconnect handling - hub work with full speed, but doesn't seem to work with Low speed device (with mcb1800) - need to update msc host after migrating from isr to xfer_cb (blocked at inquiry)
Diffstat (limited to 'src/host/ehci')
-rw-r--r--src/host/ehci/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/ehci/ehci.c b/src/host/ehci/ehci.c
index c2d5ebf7b..13e9b0edc 100644
--- a/src/host/ehci/ehci.c
+++ b/src/host/ehci/ehci.c
@@ -533,7 +533,7 @@ static void async_list_xfer_complete_isr(ehci_qhd_t * const async_head)
static void period_list_xfer_complete_isr(uint8_t hostid, uint8_t interval_ms)
{
- uint8_t max_loop = 0;
+ uint16_t max_loop = 0;
uint32_t const period_1ms_addr = (uint32_t) get_period_head(hostid, 1);
ehci_link_t next_item = * get_period_head(hostid, interval_ms);