[U-Boot] [PATCH] fastboot: Dynamic controller index for usb_gadget_handle_interrupts
Lukasz Majewski
l.majewski at majess.pl
Sun Jun 7 22:48:55 CEST 2015
On Sun, 7 Jun 2015 08:48:31 -0600
Simon Glass <sjg at chromium.org> wrote:
> On 25 May 2015 at 08:50, Lukasz Majewski <l.majewski at samsung.com>
> wrote:
> > 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 <contact at paulk.fr>
> >> ---
> >> 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 <l.majewski at samsung.com>
>
> This is in my queue and looks like a fix, so I'm picking it up.
>
> Applied to u-boot-x86, thanks!
One less to go ;-).
Thanks Simon.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150607/78a54f3b/attachment.sig>
More information about the U-Boot
mailing list