omap: mailbox: handle dev pm qos return values correctly
authorSubramaniam C.A <subramaniam.ca@ti.com>
Tue, 10 Apr 2012 17:45:05 +0000 (12:45 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Mon, 7 May 2012 08:34:59 +0000 (03:34 -0500)
commit218d225f5e2272f632ba74bb80dc683b30a3f077
tree846dc8ea9a33a625c21f36aeec2a94b15b364853
parent414ab5683043640aea7f4b5d96ae4f21c5c1c097
omap: mailbox: handle dev pm qos return values correctly

The dev_pm_qos update api returns a +ve value (1) in case
the update request resulted in a change in the applied
constraint. The return values from the dev_pm_qos api
were not handled at all currently, the same has been
fixed.

Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/plat-omap/mailbox.c