public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Ricardo Neri <ricardo.neri@ti.com>
Cc: mythripk@ti.com, linux-omap@vger.kernel.org, s-guiriec@ti.com,
	lrg@ti.com, peter.ujfalusi@ti.com
Subject: Re: [PATCH 4/4] ASoC: OMAP: HDMI: Move HDMI codec trigger function to generic HDMI driver
Date: Mon, 19 Dec 2011 10:12:36 +0200	[thread overview]
Message-ID: <1324282356.1903.25.camel@deskari> (raw)
In-Reply-To: <1324018993-31466-5-git-send-email-ricardo.neri@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

Hi Ricardo,

On Fri, 2011-12-16 at 01:03 -0600, Ricardo Neri wrote:
> The function hdmi_audio_trigger is a callback used by ASoC to stop/start
> HDMI audio. Also, it does not perform IP-specific configuration directly.
> Hence, it should be placed in the general portion of the HDMI driver,
> along with the other ASoC callbacks.
> 
> Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
> ---
>  drivers/video/omap2/dss/hdmi.c            |   31 ++++++++++++++++++++++++++++
>  drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c |   32 -----------------------------
>  drivers/video/omap2/dss/ti_hdmi_4xxx_ip.h |    2 -
>  3 files changed, 31 insertions(+), 34 deletions(-)
> 
> diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
> index a0e254e..5c93041 100644
> --- a/drivers/video/omap2/dss/hdmi.c
> +++ b/drivers/video/omap2/dss/hdmi.c
> @@ -554,6 +554,37 @@ void omapdss_hdmi_display_disable(struct omap_dss_device *dssdev)
>  #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \
>  	defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE)
>  
> +int hdmi_audio_trigger(struct snd_pcm_substream *substream, int cmd,
> +				struct snd_soc_dai *dai)

This should be static. Otherwise the patch set looks fine to me.

 Tomi


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2011-12-19  8:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-16  7:03 [PATCH 0/4] OMAPDSS/ASoC: Repair broken HDMI audio in K3.2-rcX Ricardo Neri
2011-12-16  7:03 ` [PATCH 1/4] ASoC: OMAP: HDMI: Introduce driver data for audio codec Ricardo Neri
2011-12-16  7:03 ` [PATCH 2/4] ASoC: OMAP: HDMI: Correct signature of ASoC functions Ricardo Neri
2011-12-16  7:03 ` [PATCH 3/4] OMAPDSS: HDMI: Create function to enable HDMI audio Ricardo Neri
2011-12-16  7:03 ` [PATCH 4/4] ASoC: OMAP: HDMI: Move HDMI codec trigger function to generic HDMI driver Ricardo Neri
2011-12-19  8:12   ` Tomi Valkeinen [this message]
2011-12-29  9:56 ` [PATCH 0/4] OMAPDSS/ASoC: Repair broken HDMI audio in K3.2-rcX K, Mythri P
2011-12-29 18:48   ` Mark Brown
2012-01-03  5:57     ` Ricardo Neri
2012-01-03 20:09       ` Mark Brown
2012-01-11  2:44         ` Ricardo Neri
2012-01-12  2:59           ` Mark Brown
2012-01-13  2:23             ` Ricardo Neri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1324282356.1903.25.camel@deskari \
    --to=tomi.valkeinen@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=mythripk@ti.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=ricardo.neri@ti.com \
    --cc=s-guiriec@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox