Trigger watchdog before calling usb_gadget_handle_interrupts
authorVincent Prince <vincent.prince.fr@gmail.com>
Mon, 23 Oct 2017 09:16:35 +0000 (11:16 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 26 Nov 2017 01:22:36 +0000 (02:22 +0100)
commit8171dac00dfcb4c67ad2e4aafaf28fe91d9c5368
treee5ebde2a7be80e6e67f4e4fc5febe451e26f5ad8
parenta8c402f45c758235916615757ac537db8e96fc31
Trigger watchdog before calling usb_gadget_handle_interrupts

This prevents board resets when calling sdp command on boards which have a watchdog.

Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Stefan Agner <stefan.agner@toradex.com>
drivers/usb/gadget/f_sdp.c