usb/fsl_qe_udc: fix response to get status request
authorLi Yang <leoli@freescale.com>
Wed, 24 Sep 2008 07:50:26 +0000 (15:50 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:08 +0000 (14:41 -0700)
commit928dfa6c625c17d810ae3ee6c73dc37fc4b91bcd
treec09f8b615d76f81c3db67c1b4146b477e453c7b6
parent23d7cd040e1f43113da3e8763becf576ab86b39a
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>
drivers/usb/gadget/fsl_qe_udc.c
drivers/usb/gadget/fsl_qe_udc.h