diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2022-03-28 19:25:31 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2022-05-10 10:56:39 +0200 |
commit | 7f1121a85a5c68a0df137d0b161184a39a583ad2 (patch) | |
tree | a94b8cd390f188951c37d23fc1952151945aa5ff /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | |
parent | 2a4fe0ee48f83e63afcda146b85e23811e147393 (diff) |
stm32mp: stm32prog: handle interruption during the first enumeration
When an interruption is received during the first USB enumeration
used to received the FlashLayout, with handle ctrl-c, the second
enumeration is not needed and the result for stm32prog_usb_loop
is false (reset is not needed).
This patch avoids the need of a second ctrl to interrupt the command
stm32prog.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h')
0 files changed, 0 insertions, 0 deletions