From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 2 Apr 2015 19:11:14 +0200 Subject: [U-Boot] [RESEND] [PATCH] fastboot: Proper download gadget unregister and clear when cable is missing In-Reply-To: <20150330100613.0675b647@amdc2363> References: <1427563369-25318-1-git-send-email-contact@paulk.fr> <20150330100613.0675b647@amdc2363> Message-ID: <201504021911.14524.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, March 30, 2015 at 10:06:13 AM, Lukasz Majewski wrote: > Hi Paul, > > > Signed-off-by: Paul Kocialkowski > > --- > > > > common/cmd_fastboot.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c > > index 346ab80..7956a5b 100644 > > --- a/common/cmd_fastboot.c > > +++ b/common/cmd_fastboot.c > > @@ -23,6 +23,8 @@ static int do_fastboot(cmd_tbl_t *cmdtp, int flag, > > int argc, char *const argv[]) if (!g_dnl_board_usb_cable_connected()) > > { puts("\rUSB cable not detected.\n" \ > > > > "Command exit.\n"); > > > > + g_dnl_unregister(); > > + g_dnl_clear_detach(); > > > > return CMD_RET_FAILURE; > > > > } > > This is just a minor comment - in your future patches please add some > commit message even for this very short patch. > > Despite that, > > Acked-by: Lukasz Majewski > > If other (Marek, Tom) don't mind I will take this through -dfu tree. Please do, thanks! btw. is this for current or next release ? Best regards, Marek Vasut