Skip to content
Commit 2c4e3dbf authored by Arjun Sreedharan's avatar Arjun Sreedharan Committed by Felipe Balbi
Browse files

usb: phy: return -ENODEV on failure of try_module_get



When __usb_find_phy_dev() does not return error and
try_module_get() fails, return -ENODEV.

Signed-off-by: default avatarArjun Sreedharan <arjun024@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 7d1311b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment