Skip to contentSkip to conversation

usb, musb-new: add wdt trigger

U-Boot Heiko Schocher 1 participant 1 message Jun 4, 2013 USB

lore
Share & tools
lore
#0 lore raw
---
 drivers/usb/musb-new/musb_uboot.c | 2 ++

1 Datei ge?ndert, 2 Zeilen hinzugef?gt(+)

drivers/usb/musb-new/musb_uboot.c +2 -0
index 15d2ec0..c240032 100644
@@ -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;
 
Signature · 1 line
1.7.11.7