From: Paul Walmsley Date: Mon, 26 Jul 2010 22:34:30 +0000 (-0600) Subject: OMAP: hwmod: allow omap_hwmod_late_init() caller to skip module idle in _setup() X-Git-Tag: v2.6.36-rc1~488^2~7^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d60162f64ef068b639d8a77ef3bc148baa53ad;p=pandora-kernel.git OMAP: hwmod: allow omap_hwmod_late_init() caller to skip module idle in _setup() On kernels that don't use the omap_device_enable() calls to enable devices, leave all on-chip devices enabled in hwmod _setup(). Otherwise, accesses to those devices are likely to fail, crashing the system. It's expected that kernels built without CONFIG_PM_RUNTIME will be the primary use-case for this. This functionality is controlled by adding an extra parameter to omap_hwmod_late_init(). This patch is based on the patch "OMAP: hwmod: don't auto-disable hwmod when !CONFIG_PM_RUNTIME" by Kevin Hilman . Cc: Kevin Hilman Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed