From: Paul Walmsley Date: Sun, 10 Feb 2013 18:22:22 +0000 (-0700) Subject: ARM: OMAP2+: hwmod: add enable_preprogram hook X-Git-Tag: omap-for-v3.9/pm-omap4-signed^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d266f63a11bce427504d203834df3c0bb9be9a5;p=pandora-kernel.git ARM: OMAP2+: hwmod: add enable_preprogram hook After setup/enable, some IP blocks need some additional setting to indicate the PRCM that they are inactive until they are configured. Some examples on OMAP4 include the AESS and FSUSB IP blocks. To fix this cleanly, this patch adds another optional function pointer, enable_preprogram, to the IP block's hwmod data. The function that is pointed to is called by the hwmod code immediately after the IP block is reset. This version of the patch includes a patch description fix from Felipe. Signed-off-by: Paul Walmsley Signed-off-by: Sebastien Guiriec Cc: Benoît Cousson Cc: Péter Ujfalusi Cc: Felipe Balbi --- Reading git-diff-tree failed