diff options
author | Ben Collins <ben.c@servergy.com> | 2012-10-19 10:24:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-19 10:54:30 -0700 |
commit | d479c911789e14a19b86ca09b0b634f1449c8c6b (patch) | |
tree | d45a3ca9d4d3fd583a1e0788425c870330956a41 /net | |
parent | e2a666d52b4825c26c857cada211f3baac26a600 (diff) | |
download | linux-stable-d479c911789e14a19b86ca09b0b634f1449c8c6b.tar.gz linux-stable-d479c911789e14a19b86ca09b0b634f1449c8c6b.tar.bz2 linux-stable-d479c911789e14a19b86ca09b0b634f1449c8c6b.zip |
USB: ehci-fsl: Return valid error in ehci_fsl_setup_phy
ehci_fsl_setup_phy is supposed to return an int, but had a void return
value in the case of controller_ver being invalid.
Introduced by commit 3735ba8db8e6 ("powerpc/usb: fix bug of CPU hang
when missing USB PHY clock"), which missed one return.
Signed-off-by: Ben Collins <ben.c@servergy.com>
Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions