From: Al Viro Date: Wed, 9 Nov 2011 00:58:17 +0000 (-0500) Subject: powerpc/fsl_udc_core: Fix dumb typo X-Git-Tag: v3.12-rc1~4414^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f861ed40200c5c61b698f8d795349112579bcdb;p=kernel%2Fkernel-generic.git powerpc/fsl_udc_core: Fix dumb typo Signed-off-by: Al Viro Signed-off-by: Benjamin Herrenschmidt --- diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index b2c44e1..d786ba3 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c @@ -1717,7 +1717,7 @@ static void dtd_complete_irq(struct fsl_udc *udc) static inline enum usb_device_speed portscx_device_speed(u32 reg) { - switch (speed & PORTSCX_PORT_SPEED_MASK) { + switch (reg & PORTSCX_PORT_SPEED_MASK) { case PORTSCX_PORT_SPEED_HIGH: return USB_SPEED_HIGH; case PORTSCX_PORT_SPEED_FULL: