summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/imx_udc.h
diff options
context:
space:
mode:
authorDarius Augulis <augulis.darius@gmail.com>2009-01-21 16:19:19 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-25 02:20:29 +0300
commitb633d28e2c5fbe1c8d163892644f57df04aa1421 (patch)
treeae4bb3f6086cc7f0dd2034fcb3be3d377945f602 /drivers/usb/gadget/imx_udc.h
parentd24921a36df31332c32e1bb539671284d9e36bfa (diff)
downloadlinux-b633d28e2c5fbe1c8d163892644f57df04aa1421.tar.xz
USB: imx_udc: Fix IMX UDC gadget general irq handling
Workaround of hw bug in IMX UDC. This bug causes wrong handling of CFG_CHG interrupt. Workaround is documented inline source code. Signed-off-by: Darius Augulis <augulis.darius@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/imx_udc.h')
-rw-r--r--drivers/usb/gadget/imx_udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/imx_udc.h b/drivers/usb/gadget/imx_udc.h
index 6b0b1e3d6fc7..b48ad59603d1 100644
--- a/drivers/usb/gadget/imx_udc.h
+++ b/drivers/usb/gadget/imx_udc.h
@@ -59,6 +59,7 @@ struct imx_udc_struct {
struct device *dev;
struct imx_ep_struct imx_ep[IMX_USB_NB_EP];
struct clk *clk;
+ struct timer_list timer;
enum ep0_state ep0state;
struct resource *res;
void __iomem *base;