Re: [PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-14 Thread Ulf Hansson
On 14 June 2018 at 07:23, Viresh Kumar wrote: > of_genpd_opp_to_performance_state() should return 0 for errors, but the > dummy routine isn't doing that. Fix it. > > Signed-off-by: Viresh Kumar Acked-by: Ulf Hansson Kind regards Uffe > --- > include/linux/pm_domain.h | 2 +- > 1 file

Re: [PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-14 Thread Ulf Hansson
On 14 June 2018 at 07:23, Viresh Kumar wrote: > of_genpd_opp_to_performance_state() should return 0 for errors, but the > dummy routine isn't doing that. Fix it. > > Signed-off-by: Viresh Kumar Acked-by: Ulf Hansson Kind regards Uffe > --- > include/linux/pm_domain.h | 2 +- > 1 file

[PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-13 Thread Viresh Kumar
of_genpd_opp_to_performance_state() should return 0 for errors, but the dummy routine isn't doing that. Fix it. Signed-off-by: Viresh Kumar --- include/linux/pm_domain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h

[PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-13 Thread Viresh Kumar
of_genpd_opp_to_performance_state() should return 0 for errors, but the dummy routine isn't doing that. Fix it. Signed-off-by: Viresh Kumar --- include/linux/pm_domain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h