Re: [PATCH v1] dfu: Reset timeout in case of DFU request

2020-02-17 Thread Andy Shevchenko
On Wed, Jan 29, 2020 at 05:23:14PM +0200, Andy Shevchenko wrote: > In case dfu command is being executed with timeout option, > the timer may expire in the middle of DFU operation. If there > is DFU request coming, we may simple reset timeout value > to prevent aborting of ongoing DFU operation. >

Re: [PATCH v1] dfu: Reset timeout in case of DFU request

2020-02-10 Thread Andy Shevchenko
On Thu, Jan 30, 2020 at 10:27:20AM +0100, Ferry Toth wrote: > Op 29-01-2020 om 16:23 schreef Andy Shevchenko: > > In case dfu command is being executed with timeout option, > > the timer may expire in the middle of DFU operation. If there > > is DFU request coming, we may simple reset timeout value

Re: [PATCH v1] dfu: Reset timeout in case of DFU request

2020-01-30 Thread Ferry Toth
Op 29-01-2020 om 16:23 schreef Andy Shevchenko: In case dfu command is being executed with timeout option, the timer may expire in the middle of DFU operation. If there is DFU request coming, we may simple reset timeout value to prevent aborting of ongoing DFU operation. Signed-off-by: Andy Shev

[PATCH v1] dfu: Reset timeout in case of DFU request

2020-01-29 Thread Andy Shevchenko
In case dfu command is being executed with timeout option, the timer may expire in the middle of DFU operation. If there is DFU request coming, we may simple reset timeout value to prevent aborting of ongoing DFU operation. Signed-off-by: Andy Shevchenko --- drivers/usb/gadget/f_dfu.c | 5 +