summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2017-10-21 01:02:07 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-10 00:01:48 +0300
commit68dfd4dd09003e6171208ea12c521186c809d8db (patch)
tree8d3afc309bdac0ef6f58d67196905370b9bf0443 /security
parentde139e81d350526d2b44f5e5192a32443be08238 (diff)
downloadlinux-68dfd4dd09003e6171208ea12c521186c809d8db.tar.xz
usb: phy: tahvo: fix error handling in tahvo_usb_probe()
[ Upstream commit ce035409bfa892a2fabb89720b542e1b335c3426 ] If devm_extcon_dev_allocate() fails, we should disable clk before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Fixes: 860d2686fda7 ("usb: phy: tahvo: Use devm_extcon_dev_[allocate|register]() and replace deprecated API") Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions