aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski2015-05-24 11:41:04 +0200
committerPaul Kocialkowski2015-07-15 14:45:44 +0200
commit490ce56dbd679bb3c68db6cef665f18100ee4557 (patch)
treebb252021f09ced3c9c3e310a126311dff55d1fc1
parent275df569c708a3ffd4921d57e11e85b2b125d444 (diff)
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 86fbddfcc63..b9d1c8c02bd 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;