From: Tomi Valkeinen Date: Thu, 9 Oct 2014 14:03:14 +0000 (+0300) Subject: ARM: OMAP2+: hwmod: add parent_hwmod support X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~14^2~7^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f22d2545517a0ffb8da2879d3a0dbcae99848e6c;p=pandora-kernel.git ARM: OMAP2+: hwmod: add parent_hwmod support Add parent_hwmod pointer to omap_hwmod. This can be set to point to a "parent" hwmod that needs to be enabled for the "child" hwmod to work. This is used at hwmod setup time: when doing the initial setup and reset, first enable the parent hwmod, and after setup and reset is done, restore the parent hwmod to postsetup_state. Signed-off-by: Tomi Valkeinen Reviewed-by: Archit Taneja [paul@pwsan.com: add kerneldoc documentation for parent_hwmod; note that it is a temporary workaround] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed