Re: [PATCH] OMAP: DISPC: Enable dispc wake up capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Jouni Hogander <jouni.hogander@xxxxxxxxx> [080815 12:51]:
> Without wakeup enable omap doesn't wake up on dispc interrupts. This
> causes problems in a case where mpu is in sleep state and dispc
> interrupt fires.

Pushing today.

Tony

> Signed-off-by: Jouni Hogander <jouni.hogander@xxxxxxxxx>
> ---
>  drivers/video/omap/dispc.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
> index 3d64314..d232ea9 100644
> --- a/drivers/video/omap/dispc.c
> +++ b/drivers/video/omap/dispc.c
> @@ -1393,10 +1393,10 @@ static int omap_dispc_init(struct omapfb_device *fbdev, int ext_mode,
>  		enable_digit_clocks(0);
>  	}
>  
> -	/* Enable smart idle and autoidle */
> +	/* Enable smart standby/idle, autoidle and wakeup */
>  	l = dispc_read_reg(DISPC_SYSCONFIG);
>  	l &= ~((3 << 12) | (3 << 3));
> -	l |= (2 << 12) | (2 << 3) | (1 << 0);
> +	l |= (2 << 12) | (2 << 3) | (1 << 2) | (1 << 0);
>  	dispc_write_reg(DISPC_SYSCONFIG, l);
>  	omap_writel(1 << 0, DSS_BASE + DSS_SYSCONFIG);
>  
> -- 
> 1.5.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux