PM / OPP: Propagate the error returned by _find_opp_table()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Apr 2016 08:58:53 +0000 (14:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Apr 2016 14:10:11 +0000 (16:10 +0200)
commit2d74c6d565567e72c6ea303a452473c8fa7141e4
tree0ddf7b14968f06322440407ef9b0a80e7501d7c6
parent02da2d72174c61988eb4456b53f405e3ebdebce4
PM / OPP: Propagate the error returned by _find_opp_table()

Don't send -EINVAL and propagate what's received from _find_opp_table().

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/cpu.c