USB: fsl-mph-dr-of: fix regression on mpc5121e
commit7c1029ba17f3d2596b05a6521d438c9bdc09a673
authorAnatolij Gustschin <agust@denx.de>
Tue, 4 Dec 2012 13:23:21 +0000 (4 14:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jan 2013 00:01:06 +0000 (11 16:01 -0800)
tree654602e87074aeb07021245e4afc812676d1972f
parenteb614c8b467f7f309541e6e6be9d27a9cf6badd5
USB: fsl-mph-dr-of: fix regression on mpc5121e

fsl-ehci probing fails on mpc5121e:
...
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: Could not get controller version
fsl-ehci fsl-ehci.0: can't setup
fsl-ehci fsl-ehci.0: USB bus 1 deregistered
fsl-ehci fsl-ehci.0: init fsl-ehci.0 fail, -22
fsl-ehci: probe of fsl-ehci.0 failed with error -22

Fix it by returning appropriate version info for mpc5121, too.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fsl-mph-dr-of.c