Subject: [PATCH 5/6] ARM: OMAP4: suspend: Do not get dsp/tesla out of reset

From: [email-masked] (Kevin Hilman)
Date: Mon, 27 Feb 2012 16:28:04 -0800

Tero Kristo <[email-masked]> writes:

> From: Rajendra Nayak <[email-masked]>
>
> With no driver handling DSP/TESLA, if brought out of reset, it stays
> active and does not assert standby.
>
> Signed-off-by: Rajendra Nayak <[email-masked]>
> Signed-off-by: Tero Kristo <[email-masked]>

Subject says 'OMAP4: suspend'.  How does HWMOD_INIT_NO_RESET affect
suspend?

Kevin

> ---
>  arch/arm/mach-omap2/omap_hwmod_44xx_data.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
> index ef0524c..81d90da 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
> @@ -1160,6 +1160,7 @@ static struct omap_hwmod omap44xx_dsp_hwmod = {
>  	.name		= "dsp",
>  	.class		= &omap44xx_dsp_hwmod_class,
>  	.clkdm_name	= "tesla_clkdm",
> +	.flags		= HWMOD_INIT_NO_RESET,
>  	.mpu_irqs	= omap44xx_dsp_irqs,
>  	.rst_lines	= omap44xx_dsp_resets,
>  	.rst_lines_cnt	= ARRAY_SIZE(omap44xx_dsp_resets),