diff options
author | Roger Quadros <rogerq@ti.com> | 2018-12-05 17:03:23 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-02-07 11:10:37 +0530 |
commit | ed31ee7cf1fea2463d9600ac91ed74691b88131f (patch) | |
tree | a1093b0702863b996eb8fd3e2b6969a143d24f4d /drivers/watchdog/rtd119x_wdt.c | |
parent | 32fcf6fc6c71ffb29f31cffe6e93f4389757cb19 (diff) |
phy: ti: usb2: Fix logic on -EPROBE_DEFER
If clk_get() returns -EPROBE_DEFER then we should just
return instead of falling back to old clock name.
Use clk_prepare_enable() and clk_disable_unprepare() instead
of splitting up prepare/unprepare from enable/disable.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/watchdog/rtd119x_wdt.c')
0 files changed, 0 insertions, 0 deletions