]> git.sur5r.net Git - u-boot/commitdiff
usb, musb-new: add wdt trigger
authorHeiko Schocher <hs@denx.de>
Tue, 4 Jun 2013 09:10:01 +0000 (11:10 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 30 Jun 2013 16:41:07 +0000 (18:41 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
drivers/usb/musb-new/musb_uboot.c

index 15d2ec007816faa609ebf4ee806db45627ad4033..c2400328a365ebe8c2d269743368db1ac64f4c71 100644 (file)
@@ -1,4 +1,5 @@
 #include <common.h>
+#include <watchdog.h>
 #include <asm/errno.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
@@ -164,6 +165,7 @@ static struct musb *gadget;
 
 int usb_gadget_handle_interrupts(void)
 {
+       WATCHDOG_RESET();
        if (!gadget || !gadget->isr)
                return -EINVAL;