fastboot: Proper download gadget unregister and clear when cable is missing
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
--- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)
common/cmd_fastboot.c +2 -0
@@ -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 ; }
Signature · 1 line
1.9.1
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
Hi Paul,
Quoted 10 lines
Signed-off-by Paul Kocialkowski <[email protected]>--- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)common/cmd_fastboot.c +0
-0
common/cmd_fastboot.c static int do_fastboot(cmd_tbl_t *cmdtp, int flag, · line 30
Quoted 8 lines
common/cmd_fastboot.c +2
-0@@ -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,
If other (Marek, Tom) don't mind I will take this through -dfu tree.
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
Le lundi 30 mars 2015 ? 10:06 +0200, Lukasz Majewski a ?crit :
Quoted 7 lines
Hi Paul,
Quoted 5 lines
Signed-off-by Paul Kocialkowski <[email protected]>--- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)
Quoted 16 lines
common/cmd_fastboot.c static int do_fastboot(cmd_tbl_t *cmdtp, int flag, · line 30
Quoted 13 lines
common/cmd_fastboot.c +2
-0@@ -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.
Understood.
Quoted 5 lines
Despite that,
Acked-by Lukasz Majewski <[email protected]>If other (Marek, Tom) don't mind I will take this through -dfu tree.
Thanks!
Signature · 17 lines
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/20150330/ca574223/attachment.sig>
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
In reply to Lukasz MajewskiQuoted 28 lines · Lukasz Majewski
Hi Paul,
Quoted 19 lines
Signed-off-by Paul Kocialkowski <[email protected]>---
common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)common/cmd_fastboot.c +2
-0@@ -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 ();common/cmd_fastboot.c static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
Quoted 3 lines
common/cmd_fastboot.c +0
-0return CMD_RET_FAILURE ; }This is just a minor comment - in your future patches please add some commit message even for this very short patch.
Quoted 5 lines
Despite that,
Acked-by Lukasz Majewski <[email protected]>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
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
Hi Marek,
Quoted 34 lines · Lukasz Majewski
Quoted 33 lines
Hi Paul,
Quoted 15 lines
Signed-off-by Paul Kocialkowski <[email protected]>---
common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)common/cmd_fastboot.c +0
-0@@ -23,6 +23,8 @@ static int do_fastboot(cmd_tbl_t *cmdtp, intflag, int argc, char *const argv[]) if (!g_dnl_board_usb_cable_connected()) { puts("\rUSB cable not detected.\n" \
common/cmd_fastboot.c static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
Quoted 8 lines
common/cmd_fastboot.c +2
-0"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 <[email protected]>
Quoted 8 lines
Quoted 1 line
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
I thought to add this code in the next merge window, since now we have -rc5.
The v2015.04 is scheduled for 13.04.
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
Quoted 42 lines · Lukasz Majewski
Hi Marek,
Quoted 40 lines · Lukasz Majewski
Quoted 29 lines
Hi Paul,
Quoted 15 lines
Signed-off-by Paul Kocialkowski <[email protected]>---
common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)common/cmd_fastboot.c +0
-0@@ -23,6 +23,8 @@ static int do_fastboot(cmd_tbl_t *cmdtp, intflag, int argc, char *const argv[]) if (!g_dnl_board_usb_cable_connected()) { puts("\rUSB cable not detected.\n" \
common/cmd_fastboot.c static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
Quoted 8 lines
common/cmd_fastboot.c +2
-0"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.
Quoted 5 lines
Despite that,
Acked-by Lukasz Majewski <[email protected]>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 ?
Quoted 7 lines
Quoted 2 lines
Best regards,
Marek VasutI thought to add this code in the next merge window, since now we have -rc5.
The v2015.04 is scheduled for 13.04.
Roger that, thanks!
Best regards,
Marek Vasut
PATCH RESEND 1/1 fastboot: Proper download gadget unregister and clear when cable is missing
In reply to Paul KocialkowskiHi Paul,
Quoted 10 lines
Signed-off-by Paul Kocialkowski <[email protected]>--- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+)common/cmd_fastboot.c +0
-0
common/cmd_fastboot.c static int do_fastboot(cmd_tbl_t *cmdtp, int flag, · line 30
Quoted 8 lines
common/cmd_fastboot.c +2
-0@@ -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 ; }
Applied to u-boot-dfu branch.
Thanks!
Signature · 5 lines
Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group