diff options
author | 2014-11-20 21:23:36 +0530 | |
---|---|---|
committer | 2014-11-20 13:43:22 -0600 | |
commit | 1290a958d48e30d60262a33acb5f068e87834ce4 (patch) | |
tree | 19b4ca45f7f83363fbb6761dd861adc950a94ec2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: dwc3: keystone: fix error return code (diff) | |
download | wireguard-linux-1290a958d48e30d60262a33acb5f068e87834ce4.tar.xz wireguard-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions