From: Benoit Cousson Date: Tue, 21 Sep 2010 16:34:08 +0000 (-0600) Subject: OMAP: hwmod: Do not disable clocks if hwmod already in idle X-Git-Tag: v2.6.37-rc1~121^2~56^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3827f9492bdff045ae57fe67e65ce7e259ed4219;p=pandora-kernel.git OMAP: hwmod: Do not disable clocks if hwmod already in idle The disable function was disabling clocks and dependencies from both enable and idle state. Since idle function is already disabling both, an enable -> idle -> disable sequence will try to disable twice the clocks and thus generate a "Trying disable clock XXX with 0 usecount" warning. Signed-off-by: Benoit Cousson Signed-off-by: Paul Walmsley Tested-by: Kevin Hilman --- Reading git-diff-tree failed