From: Kalle Jokiniemi Date: Wed, 14 Oct 2009 22:40:37 +0000 (-0600) Subject: OMAP: Fix race condition with autodeps X-Git-Tag: v2.6.32-rc5~7^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0219fbdacc01e039d1b158d16141349a3309915;p=pandora-kernel.git OMAP: Fix race condition with autodeps There is a possible race condition in clockdomain code handling hw supported idle transitions. When multiple autodeps dependencies are being added or removed, a transition of still remaining dependent powerdomain can result in false readings of the state counter. This is especially fatal for off mode state counter, as it could result in a driver not noticing a context loss. Fixed by disabling hw supported state transitions when autodeps are being changed. Signed-off-by: Kalle Jokiniemi Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed