Alexey Khoroshilov ce035409bf 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>
2017-10-24 12:51:12 +03:00
..
2017-04-11 10:58:22 +03:00
2015-03-11 10:19:36 -05:00
2014-11-12 08:37:37 -06:00
2014-11-03 10:01:25 -06:00
2017-08-22 13:16:06 -07:00