Re: [PATCH 1/4] phy: ti: usb2: Fix logic on -EPROBE_DEFER

2018-12-14 Thread Tony Lindgren
* Roger Quadros [181214 09:42]: > Kishon, > > On 05/12/18 17:03, Roger Quadros wrote: > > 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/

Re: [PATCH 1/4] phy: ti: usb2: Fix logic on -EPROBE_DEFER

2018-12-14 Thread Roger Quadros
Kishon, On 05/12/18 17:03, Roger Quadros wrote: > 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

[PATCH 1/4] phy: ti: usb2: Fix logic on -EPROBE_DEFER

2018-12-05 Thread Roger Quadros
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 --- drivers/phy/ti/phy-omap-usb2.c | 88 +