From: Tomi Valkeinen Date: Tue, 1 Dec 2009 11:23:25 +0000 (+0200) Subject: OMAP: DSS2: Check ctx loss count only when starting the first clock X-Git-Tag: v2.6.34-rc1~229^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e296264977f68ddf395b8f93f8e174930f88499a;p=pandora-kernel.git OMAP: DSS2: Check ctx loss count only when starting the first clock When OMAP PM layer is no-op/debug, the PM layer will increment context loss count with every call. This resulted DSS2 to restore context whenever a clock was enabled. This commit checks the context loss count only when the context actually could have been lost, ie. when enabling a clock when no clocks had been previously enabled. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed