aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/fsl_qe_udc.h
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2008-09-24 15:50:26 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:41:08 -0700
commit928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd (patch)
treec09f8b615d76f81c3db67c1b4146b477e453c7b6 /drivers/usb/gadget/fsl_qe_udc.h
parentfsl_usb2_udc: Fix oops on probe failure. (diff)
downloadlinux-dev-928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd.tar.xz
linux-dev-928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd.zip
usb/fsl_qe_udc: fix response to get status request
The original code didn't respond correctly to get status request on device and endpoint. Although normal operations can work without the fix. It is not compliant with USB spec chapter9 and fails USBCV ch9 tests. The patch fix this and a few style/typo problems. Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to '')
-rw-r--r--drivers/usb/gadget/fsl_qe_udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/fsl_qe_udc.h b/drivers/usb/gadget/fsl_qe_udc.h
index b4c07a22e8e7..31b2710882e4 100644
--- a/drivers/usb/gadget/fsl_qe_udc.h
+++ b/drivers/usb/gadget/fsl_qe_udc.h
@@ -349,6 +349,7 @@ struct qe_udc {
u32 c_end;
u8 *nullbuf;
+ u8 *statusbuf;
dma_addr_t nullp;
u8 nullmap;
u8 device_address; /* Device USB address */