From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Neri Subject: [PATCH] ASoC: OMAP: HDMI: Prevent DSS module from going idle when playing audio Date: Fri, 16 Dec 2011 01:03:52 -0600 Message-ID: <1324019032-31532-1-git-send-email-ricardo.neri@ti.com> Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:46128 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753056Ab1LPHEP (ORCPT ); Fri, 16 Dec 2011 02:04:15 -0500 Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id pBG74EhT023194 for ; Fri, 16 Dec 2011 01:04:14 -0600 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: b-cousson@ti.com, tomi.valkeinen@ti.com Cc: linux-omap@vger.kernel.org, mythripk@ti.com, s-guiriec@ti.com, lrg@ti.com, peter.ujfalusi@ti.com, Ricardo Neri When playing audio through HDMI, the module should be put in no-idle mode. This is to prevent the DSS_L3_ICLK to be shut down. Once audio playback is stopped, the module is set back to smart-idle wakeup-capable. Also, a omap_hwmod structure is added to hdmi_ip_data to have access to idle-mode configuration. Signed-off-by: Ricardo Neri --- drivers/video/omap2/dss/hdmi.c | 13 +++++++++++++ drivers/video/omap2/dss/ti_hdmi.h | 4 ++++ 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 5c93041..e177338 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -35,6 +35,7 @@ #include