L25.14M.3 Donut Release
SRF: Fix latency resource target value computations.

The Shared resource framework currently considers the highest requested
level for a resource as the target level to be set. This works for OPP
and frequency resources as they are used to model performace based
constraints. However for latency based constraints/resources the least requested
level should be the one considered for the target level. This patch fixes
the issue by having an additional flag to identify the different types
of resources. Currently supported ones are Performace resources and
latency resources.

Ported from l-o:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg17265.html

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Vishwanath BS <vishwanath.bs@ti.com>
(cherry picked from commit a265523dae4d8e419993515881f643f21da21af3)
4 files changed