Re: [RFT v2] mfd: exynos-lpass: Handle return value of clk_prepare_enable

2017-08-09 Thread Marek Szyprowski
Hi All, On 2017-08-10 08:01, Krzysztof Kozlowski wrote: On Wed, Aug 09, 2017 at 10:18:10AM +0530, Arvind Yadav wrote: clk_prepare_enable() can fail here and we must check its return value. we must call pm_runtime_disable() and pm_runtime_set_suspended(), If exynos_lpass_probe is not successful.

Re: [RFT v2] mfd: exynos-lpass: Handle return value of clk_prepare_enable

2017-08-09 Thread Krzysztof Kozlowski
On Wed, Aug 09, 2017 at 10:18:10AM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > we must call pm_runtime_disable() and pm_runtime_set_suspended(), > If exynos_lpass_probe is not successful. > > Signed-off-by: Arvind Yadav > --- > changes in

[RFT v2] mfd: exynos-lpass: Handle return value of clk_prepare_enable

2017-08-08 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. we must call pm_runtime_disable() and pm_runtime_set_suspended(), If exynos_lpass_probe is not successful. Signed-off-by: Arvind Yadav --- changes in v2: added regmap_exit(lpass->top) and blank line before return.