devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org>
Cc: Dylan Reid <dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/2] ALSA: hda - Add driver for Tegra SoC HDA
Date: Wed, 9 Apr 2014 12:37:15 +0200	[thread overview]
Message-ID: <20140409103714.GB9527@ulmo> (raw)
In-Reply-To: <s5hfvlmvo19.wl%tiwai-l3A5Bk7waGM@public.gmane.org>

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

On Wed, Apr 09, 2014 at 11:40:34AM +0200, Takashi Iwai wrote:
> At Wed, 9 Apr 2014 11:22:13 +0200,
> Thierry Reding wrote:
> > 
> > > +
> > > +static int probe_mask[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1};
> > > +module_param_array(probe_mask, int, NULL, 0444);
> > > +MODULE_PARM_DESC(probe_mask, "Bitmask to probe codecs (default = -1).");
> > 
> > Is this really necessary? Do we need this with Tegra? Can't we simply
> > assume that there's always only one codec? Or always use a probe_mask of
> > -1? Alternatively, wouldn't this be better off in DT?
> 
> This is an option rather for debugging.  Usually the codec is
> recognized automatically in the case of HD-audio.
> 
> But, another point is, suppose this is really specific to Tegra and
> nothing else, whether we need multiple instances.  If there is only a
> single controller, we can omit the arrays.

Yes, I think it's reasonable to assume that there will only ever be a
single HDA controller on Tegra SoCs.

One other thought: I can see how this option would be useful for
debugging things on a PC for instance, where the configurations can vary
fairly drastically, but I'm having a hard time to imagine this ever
being necessary for Tegra.

But if people prefer to keep this I have no strong objections.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2014-04-09 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 19:15 [PATCH 2/2] ALSA: hda - Add driver for Tegra SoC HDA Dylan Reid
     [not found] ` <1396984533-13900-1-git-send-email-dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2014-04-09  7:43   ` Takashi Iwai
     [not found]     ` <s5hfvlnq76t.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2014-04-10  4:20       ` Dylan Reid
2014-04-09  9:22   ` Thierry Reding
2014-04-09  9:40     ` Takashi Iwai
     [not found]       ` <s5hfvlmvo19.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2014-04-09 10:37         ` Thierry Reding [this message]
2014-04-10  4:22     ` Dylan Reid

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=20140409103714.GB9527@ulmo \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=tiwai-l3A5Bk7waGM@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).