commit | 1794ec1f9585501e4ed4390f5a5d396fd28c63ce | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Nov 05 14:21:18 2015 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Nov 06 23:59:41 2015 +0100 |
tree | fc73ae47399c3b88be386ce34690a20c3e88f0c4 | |
parent | ad623c31485581d6b082ef92429db3b728739cd8 [diff] |
PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus() We are returning 0 even in case of errors, fix it. Fixes: 8d4d4e98acd6 ("PM / OPP: Add helpers for initializing CPU OPPs") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: 4.3 <stable@vger.kernel.org> # 4.3 Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>