Skip to content

Commit b8acea4

Browse files
author
Gordon Hollingworth
committed
Fix merge
1 parent 41e47e6 commit b8acea4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

drivers/usb/host/dwc_otg/dwc_otg_hcd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,13 +1373,13 @@ static void process_periodic_channels(dwc_otg_hcd_t * hcd)
13731373
int no_queue_space = 0;
13741374
int no_fifo_space = 0;
13751375

1376+
dwc_otg_host_global_regs_t *host_regs;
1377+
host_regs = hcd->core_if->host_if->host_global_regs;
1378+
13761379
// OK This is not being called on the right frame, even though we do get every SOF interrupt, need to see if it is
13771380
// not actually in the assigned queue at the right time...
13781381
info_data(info_process_periodic);
13791382

1380-
dwc_otg_host_global_regs_t *host_regs;
1381-
host_regs = hcd->core_if->host_if->host_global_regs;
1382-
13831383
DWC_DEBUGPL(DBG_HCDV, "Queue periodic transactions\n");
13841384
#ifdef DEBUG
13851385
tx_status.d32 = DWC_READ_REG32(&host_regs->hptxsts);

drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ int32_t dwc_otg_hcd_handle_sof_intr(dwc_otg_hcd_t * hcd)
199199
dwc_list_link_t *qh_entry;
200200
dwc_otg_qh_t *qh;
201201
dwc_otg_transaction_type_e tr_type;
202+
int next_sched;
202203
gintsts_data_t gintsts = {.d32 = 0 };
203204

204205
hfnum.d32 =

0 commit comments

Comments
 (0)