]> git.baikalelectronics.ru Git - kernel.git/commit
PM / OPP: Mark shared-opp for non-dt case
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Apr 2016 08:58:57 +0000 (14:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Apr 2016 14:10:18 +0000 (16:10 +0200)
commitd4c77f089b8874a20c6ba4a3b7bb3298a9ce02d0
tree289a486b76adb304822877489ab2355670e6daeb
parent27b52f5f9ec42f6236bfe3dd88e78c188b391603
PM / OPP: Mark shared-opp for non-dt case

opp core allows OPPs to be explicitly marked as shared from platform
code, in case of operating-point v1 bindings.

Though we do everything fine in that case, we don't set the flag in the
opp-table to indicate that the OPPs are shared. It works fine today as
the flag isn't used anywhere else in the core, but we should be doing
the right thing by marking it set.

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