On Fri, Dec 30, 2011 at 05:33:31PM +0800, Peter Chen wrote: > Fix the definition error of line state This also needs a better commit log. You could describe here that this would cause problems during certification when you try to enter K state and end up entering J state, or something similar. > Signed-off-by: Peter Chen <peter.chen@xxxxxxxxxxxxx> > --- > drivers/usb/gadget/fsl_usb2_udc.h | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/gadget/fsl_usb2_udc.h b/drivers/usb/gadget/fsl_usb2_udc.h > index f781f5d..eb6bbcf 100644 > --- a/drivers/usb/gadget/fsl_usb2_udc.h > +++ b/drivers/usb/gadget/fsl_usb2_udc.h > @@ -205,8 +205,8 @@ struct usb_sys_interface { > > /* bit 11-10 are line status */ > #define PORTSCX_LINE_STATUS_SE0 0x00000000 > -#define PORTSCX_LINE_STATUS_JSTATE 0x00000400 > -#define PORTSCX_LINE_STATUS_KSTATE 0x00000800 > +#define PORTSCX_LINE_STATUS_KSTATE 0x00000400 > +#define PORTSCX_LINE_STATUS_JSTATE 0x00000800 > #define PORTSCX_LINE_STATUS_UNDEF 0x00000C00 > #define PORTSCX_LINE_STATUS_BIT_POS 10 > > -- > 1.7.0.4 > > -- balbi
Attachment:
signature.asc
Description: Digital signature