]> Pileus Git - ~andy/linux/commit
ARM: OMAP2+: OPP: allow OPP enumeration to continue if device is not present
authorNishanth Menon <nm@ti.com>
Fri, 16 Mar 2012 16:19:09 +0000 (11:19 -0500)
committerKevin Hilman <khilman@ti.com>
Thu, 22 Mar 2012 23:11:17 +0000 (16:11 -0700)
commit9fa2df6b90786301b175e264f5fa9846aba81a65
tree5aa0cd0257e9d4323a0c22709d499ba126e03bc2
parent981798569b090543453baccbc0657fbcea311668
ARM: OMAP2+: OPP: allow OPP enumeration to continue if device is not present

On platforms such as OMAP3, certain variants may not have IVA, SGX
or some specific component. We currently have a check to aid fixing
wrong population of OPP entries for issues such as typos. This however
causes a conflict with valid requirement where the SoC variant does
not actually have the module present.

So, reduce the severity of the print to a debug statement and skip
registering that specific OPP, but continue down the list.

Reported-by: Steve Sakoman <steve@sakoman.com>
Reported-by: Maximilian Schwerin <mvs@tigris.de>
Acked-by: Steve Sakoman <steve@sakoman.com>
Tested-by: Maximilian Schwerin <mvs@tigris.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/opp.c