mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
usb: phy: return -ENODEV on failure of try_module_get
commit 2c4e3dbf63 upstream.
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>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
ad0f3236b9
commit
774c6ae424
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue