From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Tue, 14 Jul 2015 17:22:43 +0200 Subject: [U-Boot] [PATCH] fastboot: Dynamic controller index for usb_gadget_handle_interrupts In-Reply-To: <1436877496.2619.6.camel@collins> References: <1432460464-4915-1-git-send-email-contact@paulk.fr> <20150525165043.080409bb@amdc2363> <1436272197.6701.0.camel@collins> <1436877496.2619.6.camel@collins> Message-ID: <20150714172243.52e1603a@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Paul, > Le mardi 07 juillet 2015 ? 14:29 +0200, Paul Kocialkowski a ?crit : > > Le lundi 25 mai 2015 ? 16:50 +0200, Lukasz Majewski a ?crit : > > > Hi Paul, > > > > > > > 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 > > > > --- > > > > common/cmd_fastboot.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > 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; > > > > > > Reviewed-by: Lukasz Majewski > > > > Now that the other patches have been merged, this one could be as > > well. > > > > Lukasz, is there anything else holding it back? > > It's been a week since I asked this. Any news? Applied to u-boot-dfu tree. Thanks for the patch! > > Thanks! -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group