mirror of https://gitee.com/openkylin/linux.git
powerpc/fsl_udc_core: Fix dumb typo
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
4933402075
commit
5f861ed402
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue