usb, musb-new: add wdt trigger

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
master
Heiko Schocher 12 years ago committed by Marek Vasut
parent c5398cc968
commit 7a34278542
  1. 2
      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;

Loading…
Cancel
Save