From: Mark Brown <broonie@kernel.org>
To: Xiubo Li <Li.Xiubo@freescale.com>
Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.de,
kuninori.morimoto.gx@renesas.com, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH 1/4] ASoC: simple-card: add simple audio card widgets support
Date: Wed, 8 Jan 2014 17:59:40 +0000 [thread overview]
Message-ID: <20140108175940.GQ31886@sirena.org.uk> (raw)
In-Reply-To: <1389164556-2728-1-git-send-email-Li.Xiubo@freescale.com>
[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]
On Wed, Jan 08, 2014 at 03:02:33PM +0800, Xiubo Li wrote:
> For many audio cards there need to add some off-CODEC widgets, and this
> is hard to be supported by dts only, because maybe some widgets need one
> or more call backs, such as wevent.
The big question here would be why these widgets need to be added - the
default thing is that all inputs and outputs are enabled so it can't be
that and as you say callbacks are going to need to be added.
If this is used then it probably makes sense for the card to set the
fully routed flag since one possible use is to disable unconnected pins
on the CODEC.
> +- simple-sudio-card,widgets : The name of the audio card off-CODEC widgets.
simple-audio-card. This also needs more documentation about what is
supposed to be filled in here.
> +void
> +asoc_simple_card_widgets_unregister(struct asoc_simple_card_widgets *comp)
We always use snd_soc.
One interesting thing here is that this is done separately to the card
itself. Is there any actual dependency on the simple card, could this
be made into a generic library that any machine driver could use? I can
see other machines being able to make use of this.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-01-08 18:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 7:02 Xiubo Li
2014-01-08 7:02 ` [PATCH 2/4] ASoC: simple-card: simple audio card widgets getting Xiubo Li
2014-01-08 7:02 ` [PATCH 3/4] ASoC: fsl: Add VF610 simple audio card widgets driver Xiubo Li
2014-01-08 18:06 ` Mark Brown
2014-01-09 7:43 ` Li.Xiubo
2014-01-08 7:02 ` [PATCH 4/4] ARM: dts: Enable SGTL5000 codec based audio driver node for VF610 TOWER Xiubo Li
2014-01-08 17:59 ` Mark Brown [this message]
2014-01-09 7:43 ` [PATCH 1/4] ASoC: simple-card: add simple audio card widgets support Li.Xiubo
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=20140108175940.GQ31886@sirena.org.uk \
--to=broonie@kernel.org \
--cc=Li.Xiubo@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=devicetree@vger.kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--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
all inboxes | Powered by JetHome®