OMAP3: SR: Fix SR driver to check for omap-pm return values
commit7e11675ca5910d8485d13fa316f9ce94a1887105
authorRajendra Nayak <rnayak@ti.com>
Wed, 29 Apr 2009 06:58:39 +0000 (29 12:28 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:20:21 +0000 (23 11:20 -0700)
tree2ecdf5d74521bcdfc7f6dcd12306e90eb07b6fbf
parent145fcf81a4414346c040795fe9d38055544e483a
OMAP3: SR: Fix SR driver to check for omap-pm return values

This patch checks for the return values of omap_pm_vddx_get_opp()
in SR driver and acts accordingly. With no SRF layer enabled the OMAP-PM layer
api is unable to return the current OPP.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/smartreflex.c