From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Dylan Reid <dgreid@chromium.org>, alsa-devel@alsa-project.org
Subject: Re: Jack detection on HDA vs SoC
Date: Mon, 6 Feb 2012 11:06:00 +0000 [thread overview]
Message-ID: <20120206110600.GA3070@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <s5hmx8wqomb.wl%tiwai@suse.de>
[-- Attachment #1.1: Type: text/plain, Size: 1427 bytes --]
On Mon, Feb 06, 2012 at 10:48:12AM +0100, Takashi Iwai wrote:
> In the current release, I left ctljack.c as is before the integration
> with jack.c simply because of different use-cases I faced: the
> input-jack provides the multiple switches for a single jack while the
> current ctljack.c provides only a boolean. Although the ctljack can
> provide an enum instead of a boolean for representing a similar model,
> I wanted to get the global overlook and a consensus at first.
That's not the case with the standard jack stuff at all - it's not using
any enumerations. Everything that's grouped together is bitfields, it's
just a set of booleans all the way up to userspace.
> Meanwhile, the boolean implementation is enough for most of PC
> (especially HD-audio) stuff and the ctljack implementation was
> demanded. Thus I decided to merge the branch for 3.2.
So are they just booleans, and is there a naming standard for the
controls? I've never seen any clear description of the semantics
and I'd been assuming from the fact that all this had been done
outside the standard infrastructure that there was some deep HDA
specificness in the current somewhere but it's not sounding that
way.
> Definitely the integration work is necessary and foreseen. The
> biggest problem my workload for other tasks.
TBH it looks like it'd have been less work to start off in the core -
all the hooks were already in the drivers.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2012-02-06 11:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-04 2:01 Jack detection on HDA vs SoC Dylan Reid
2012-02-04 3:41 ` Raymond Yau
2012-02-04 13:20 ` Mark Brown
2012-02-04 14:02 ` Mark Brown
2012-02-06 9:48 ` Takashi Iwai
2012-02-06 11:06 ` Mark Brown [this message]
2012-02-06 7:56 ` 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=20120206110600.GA3070@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=dgreid@chromium.org \
--cc=tiwai@suse.de \
/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).