dfu: cmd: trigger watchdog before calling usb_gadget_handle_interrupts
authorHeiko Schocher <hs@denx.de>
Tue, 14 Apr 2015 07:53:13 +0000 (09:53 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Tue, 14 Apr 2015 08:18:49 +0000 (10:18 +0200)
commit0a9ac5cb5e3c5a7f0c231432a0f7b690a03d8c8b
treed695fa36a65644e84fc84fa6411608d4adeffee0
parentee02a65e996c59efd2371cb615b5028bd61d9737
dfu: cmd: trigger watchdog before calling usb_gadget_handle_interrupts

trigger watchdog before calling usb_gadget_handle_interrupts()
This prevents board resets when calling dfu command on boards
which have a watchdog.

Signed-off-by: Heiko Schocher <hs@denx.de>
[ Reedition by Lukasz Majewski <l.majewski@samsung.com> to apply to
v2014.04 release ]
common/cmd_dfu.c