summaryrefslogtreecommitdiff
path: root/board/ti/am43xx
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/am43xx')
-rw-r--r--board/ti/am43xx/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index 6c4fe48a38..ddf4c5fc13 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -732,13 +732,13 @@ int board_usb_cleanup(int index, enum usb_init_type init)
return 0;
}
-int usb_gadget_handle_interrupts(void)
+int usb_gadget_handle_interrupts(int index)
{
u32 status;
- status = dwc3_omap_uboot_interrupt_status(0);
+ status = dwc3_omap_uboot_interrupt_status(index);
if (status)
- dwc3_uboot_handle_interrupt(0);
+ dwc3_uboot_handle_interrupt(index);
return 0;
}