From: Benoit Cousson Date: Sun, 10 Jul 2011 11:56:33 +0000 (-0600) Subject: OMAP4: hwmod: Introduce the module control in hwmod control X-Git-Tag: v3.1-rc1~148^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c38252d76a96e6e0e05f982ca44096191a8eea;p=pandora-kernel.git OMAP4: hwmod: Introduce the module control in hwmod control Take advantage of the explicit modulemode control to fix the way parents clocks are managed. A module must be disabled before any parents are disabled. That programming model was not possible with the previous implementation that was considering a modulemode as a leaf clock node managed by the clock fmwk. This was leading to bad crash upon disable when the parent clock was gated before the module completed its transition to idle. Signed-off-by: Benoit Cousson Cc: Paul Walmsley Cc: Rajendra Nayak Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed