Patchwork [U-Boot] usb, musb-new: add wdt trigger

login
register
mail settings
Submitter Heiko Schocher
Date June 4, 2013, 9:10 a.m.
Message ID <1370337001-15235-1-git-send-email-hs@denx.de>
Download mbox | patch
Permalink /patch/248511/
State Awaiting Upstream
Delegated to: Marek Vasut
Headers show

Comments

Heiko Schocher - June 4, 2013, 9:10 a.m.
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 | 2 ++
 1 Datei geändert, 2 Zeilen hinzugefügt(+)

Patch

diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c
index 15d2ec0..c240032 100644
--- a/drivers/usb/musb-new/musb_uboot.c
+++ b/drivers/usb/musb-new/musb_uboot.c
@@ -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;