OMAP3:PM: reject disabled OPP
commitd20fc1029462c159d65276905e6f4a6e0e426cd0
authorNishanth Menon <nm@ti.com>
Fri, 25 Sep 2009 23:14:52 +0000 (25 18:14 -0500)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:21:52 +0000 (23 11:21 -0700)
tree4bd4db13a5bbebb68499a0a6eddc22343a39a10a
parent270e531ea855ed64fe54d7ce59418e29d0f12537
OMAP3:PM: reject disabled OPP

when the omap_opp structures are disabled by setting the
frequency as 0 as below (as an example)
{0, VDD2_OPP1, 0x1E},
program_opp attempts to set voltage even after frequency
setting fails. we can instead return if we see invalid
values for either frequency or voltage

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/resource34xx.c