diff options
author | Li Yang <leoli@freescale.com> | 2008-09-24 15:50:26 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 14:41:08 -0700 |
commit | 928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd (patch) | |
tree | c09f8b615d76f81c3db67c1b4146b477e453c7b6 /drivers/usb/gadget/fsl_qe_udc.h | |
parent | 23d7cd040e1f43113da3e8763becf576ab86b39a (diff) | |
download | op-kernel-dev-928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd.zip op-kernel-dev-928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd.tar.gz |
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 b4c07a2..31b2710 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 */ |