commit | ce035409bfa892a2fabb89720b542e1b335c3426 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Oct 21 01:02:07 2017 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Oct 24 12:51:12 2017 +0300 |
tree | 029e9766f6b3861e0b20e6c36fa77a84a332a642 | |
parent | fdb5e4fa1aedb91d900cd7719a0bfb92b4122c53 [diff] |
usb: phy: tahvo: fix error handling in tahvo_usb_probe() 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>