diff options
author | Arjun Sreedharan <arjun024@gmail.com> | 2014-08-18 11:17:33 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-19 09:21:28 -0500 |
commit | 2c4e3dbf63b39d44a291db70016c718f45d9cd46 (patch) | |
tree | d93e15c29eaeca3e8cc9fa6747b62e4121f57994 /drivers/usb/phy/phy-gpio-vbus-usb.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | op-kernel-dev-2c4e3dbf63b39d44a291db70016c718f45d9cd46.zip op-kernel-dev-2c4e3dbf63b39d44a291db70016c718f45d9cd46.tar.gz |
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: Arjun Sreedharan <arjun024@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-gpio-vbus-usb.c')
0 files changed, 0 insertions, 0 deletions