]> git.baikalelectronics.ru Git - uboot.git/commit
dfu: Reset timeout in case of DFU request
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 29 Jan 2020 15:23:14 +0000 (17:23 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 1 Mar 2020 20:58:54 +0000 (21:58 +0100)
commit4e38fc1b3e65b756fbada127446448ce6861baa6
tree8f82a7f746248dae74591e38bf0e7d0348d736b1
parent5cbeb48a6e54cfbfb41a88007967ef9281746a04
dfu: Reset timeout in case of DFU request

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 <andriy.shevchenko@linux.intel.com>
Tested-by: Ferry Toth <ftoth@exalondelft.nl>
drivers/usb/gadget/f_dfu.c