diff options
author | Arjun Sreedharan <arjun024@gmail.com> | 2014-11-20 16:53:36 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-20 20:43:22 +0100 |
commit | 1290a958d48e30d60262a33acb5f068e87834ce4 (patch) | |
tree | 19b4ca45f7f83363fbb6761dd861adc950a94ec2 /arch/unicore32 | |
parent | usb: dwc3: keystone: fix error return code (diff) | |
download | linux-1290a958d48e30d60262a33acb5f068e87834ce4.tar.xz linux-1290a958d48e30d60262a33acb5f068e87834ce4.zip |
usb: phy: propagate __of_usb_find_phy()'s error on failure
When __of_usb_find_phy() fails, it returns -ENODEV - its
error code has to be returned by devm_usb_get_phy_by_phandle().
Only when the former function succeeds and try_module_get()
fails should -EPROBE_DEFER be returned.
[ balbi@ti.com : remove trailing whitespace ]
Signed-off-by: Arjun Sreedharan <arjun024@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions