All of lore.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, s-guiriec@ti.com, lrg@ti.com,
	peter.ujfalusi@ti.com, linux-omap@vger.kernel.org
Subject: Re: [PATCH 4/5] OMAPDSS: Export functions to enable dynamic linking
Date: Mon, 13 Feb 2012 15:48:26 +0200	[thread overview]
Message-ID: <1329140906.2817.6.camel@deskari> (raw)
In-Reply-To: <1329004530-28029-5-git-send-email-ricardo.neri@ti.com>

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

Hi,

On Sat, 2012-02-11 at 17:55 -0600, Ricardo Neri wrote:
> The functions dss_init_hdmi_ip_ops and dss_has_feature are used by
> the ASoC HDMI codec. Both the ASoC codec and DSS may be built
> as separate kernel modules. Hence, these two functions need to be
> available for dynamic linking.

Neither of those functions should be exported, they are omapdss
internal. And you had to hack around to make those usable by adding
drivers/video/omap2/dss into the include path.

Anything that is exported from omapdss should be added to
include/video/omapdss.h. Users of omapdss should never include anything
from drivers/video/omap2/dss.

But as I said, neither of those functions should be exported, they are
clearly omapdss internal functions. For dss_has_feature we probably need
a new function to convey the information about the hdmi features that
the audio side needs. Or perhaps it can be in the ip_data.

For dss_init_hdmi_ip_ops I don't see why the audio part should see it.
Initializing the ops should clearly be done by omapdss automatically.

 Tomi


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

  reply	other threads:[~2012-02-13 13:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-11 23:55 [PATCH 0/5] OMAPDSS: Relocate ASoC HDMI codec to sound Ricardo Neri
2012-02-11 23:55 ` [PATCH 1/5] OMAPDSS: HDMI: Add function to get the HDMI mode Ricardo Neri
2012-02-11 23:55 ` [PATCH 2/5] OMAPDSS: HDMI: Rename audio functions in HDMI IP library Ricardo Neri
2012-02-11 23:55 ` [PATCH 3/5] OMAPDSS: HDMI: Add audio config functions to HDMI IP ops Ricardo Neri
2012-02-11 23:55 ` [PATCH 4/5] OMAPDSS: Export functions to enable dynamic linking Ricardo Neri
2012-02-13 13:48   ` Tomi Valkeinen [this message]
2012-02-15  0:00     ` Ricardo Neri
2012-02-15  8:23       ` Tomi Valkeinen
2012-02-16  2:46         ` Ricardo Neri
2012-02-16  6:34           ` Tomi Valkeinen
2012-02-11 23:55 ` [PATCH 5/5] OMAPDSS/ASoC: Relocate ASoC HDMI codec. Part 1 Ricardo Neri
2012-02-12  0:34 ` [PATCH 0/5] OMAPDSS: Relocate ASoC HDMI codec to sound 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=1329140906.2817.6.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.