]> git.dujemihanovic.xyz Git - u-boot.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)
commit53d9bd4a568d6d187c894ce539ad2595023dfc2b
tree8f82a7f746248dae74591e38bf0e7d0348d736b1
parent9e1d65f36b83c5422ece3c0ea28d07a2246cb07f
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