diff options
author | Li Yang <leoli@freescale.com> | 2008-09-24 03:50:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 17:41:08 -0400 |
commit | 928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd (patch) | |
tree | c09f8b615d76f81c3db67c1b4146b477e453c7b6 /drivers/usb/gadget/fsl_qe_udc.h | |
parent | 23d7cd040e1f43113da3e8763becf576ab86b39a (diff) |
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 'drivers/usb/gadget/fsl_qe_udc.h')
-rw-r--r-- | drivers/usb/gadget/fsl_qe_udc.h | 1 |
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 { | |||
349 | u32 c_end; | 349 | u32 c_end; |
350 | 350 | ||
351 | u8 *nullbuf; | 351 | u8 *nullbuf; |
352 | u8 *statusbuf; | ||
352 | dma_addr_t nullp; | 353 | dma_addr_t nullp; |
353 | u8 nullmap; | 354 | u8 nullmap; |
354 | u8 device_address; /* Device USB address */ | 355 | u8 device_address; /* Device USB address */ |