[U-Boot] [PATCH] fastboot: Dynamic controller index for usb_gadget_handle_interrupts

Paul Kocialkowski contact at paulk.fr
Tue Jul 7 14:29:57 CEST 2015


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 <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>

Now that the other patches have been merged, this one could be as well.

Lukasz, is there anything else holding it back?

-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.

Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150707/cefd31c1/attachment.sig>


More information about the U-Boot mailing list