[PATCH 3/3] OMAP2+: powerdomain: add pwrdm_can_ever_lose_context()

Paul Walmsley paul at pwsan.com
Tue Mar 8 13:10:53 EST 2011


On Tue, 8 Mar 2011, Varadarajan, Charulatha wrote:

> Do you really want to return 1 in case of invalid powerdomain pointer?

Sure, that's why I wrote it that way.  It seems less risky than returning 
0.  Do you have a proposal that makes more sense, given that this is going 
to be called immediately after a omap_{device,hwmod}_get_pwrdm() ?


- Paul



More information about the linux-arm-kernel mailing list