diff options
author | Heiko Schocher <hs@denx.de> | 2013-06-04 11:10:01 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-06-30 18:41:07 +0200 |
commit | 7a3427854243f0e28c102926d203709b3e3cee62 (patch) | |
tree | 95d4ea216d5f4de1a30e698c540c3a5e16d61f7b /drivers/usb/musb-new/musb_uboot.c | |
parent | c5398cc968793cb73752d98e69f2e8d3cc9d9e59 (diff) | |
download | u-boot-imx-7a3427854243f0e28c102926d203709b3e3cee62.zip u-boot-imx-7a3427854243f0e28c102926d203709b3e3cee62.tar.gz u-boot-imx-7a3427854243f0e28c102926d203709b3e3cee62.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb/musb-new/musb_uboot.c')
-rw-r--r-- | drivers/usb/musb-new/musb_uboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |