OMAP2+: hwmod: allow custom pre-shutdown functions
authorPaul Walmsley <paul@pwsan.com>
Tue, 14 Dec 2010 19:42:34 +0000 (12:42 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 02:55:11 +0000 (19:55 -0700)
commite4dc8f507c3066d6fcece988d99b6d766c46af85
tree5548478340c53a1ee79756d9c3c97118bf9abb13
parent4805734bcc5a6b28b527a13a5c1603a2912c9f48
OMAP2+: hwmod: allow custom pre-shutdown functions

Some OMAP IP blocks, such as the watchdog timers, cannot be completely
shut down via the standard hwmod shutdown mechanism.  This patch
enables the hwmod data files to supply a pointer to a custom
pre-shutdown function via the struct omap_hwmod_class.pre_shutdown
function pointer.  If the struct omap_hwmod_class.pre_shutdown
function pointer is non-null, the function will be executed before the
existing hwmod shutdown code runs.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h
This page took 0.024026 seconds and 5 git commands to generate.