summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-05-24 11:41:04 +0200
committerMarek Vasut <marex@denx.de>2015-07-22 08:57:53 +0200
commiteca76b7429cedb600d724f6f1655bc43ede811a8 (patch)
tree097b3b24808edb5404651fbddc4a3a2ea3dad29c
parent99fc2221a059b2571aedf6ff27d7d17dac2b0994 (diff)
downloadu-boot-imx-eca76b7429cedb600d724f6f1655bc43ede811a8.zip
u-boot-imx-eca76b7429cedb600d724f6f1655bc43ede811a8.tar.gz
u-boot-imx-eca76b7429cedb600d724f6f1655bc43ede811a8.tar.bz2
fastboot: Dynamic controller index for usb_gadget_handle_interrupts
Since we're now using a dynamic controller index for fastboot too, usb_gadget_handle_interrupts should be using it instead of 0 (despite the fact that it's currently not being used at all in the musb-new implementation). Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--common/cmd_fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c
index 86fbddf..b9d1c8c 100644
--- a/common/cmd_fastboot.c
+++ b/common/cmd_fastboot.c
@@ -47,7 +47,7 @@ static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
break;
if (ctrlc())
break;
- usb_gadget_handle_interrupts(0);
+ usb_gadget_handle_interrupts(controller_index);
}
ret = CMD_RET_SUCCESS;