[alsa-devel] [PATCH 5/7] ASoC: Intel: Add machine driver for Baytrail SST with RT5640 codec
Mark Brown
broonie at kernel.org
Tue Feb 25 05:42:06 CET 2014
On Mon, Feb 24, 2014 at 05:27:00PM +0200, Jarkko Nikula wrote:
> +static const struct snd_kcontrol_new byt_rt5640_controls[] = {
> + SOC_DAPM_PIN_SWITCH("Headphone"),
> + SOC_DAPM_PIN_SWITCH("Headset Mic"),
> + SOC_DAPM_PIN_SWITCH("Int Mic"),
> + SOC_DAPM_PIN_SWITCH("Ext Spk"),
Is this really an external speaker (you're making this visible as a
control name...)?
> + fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
> + SND_SOC_DAIFMT_CBS_CFS;
> +
> + ret = snd_soc_dai_set_fmt(codec_dai, fmt);
> + if (ret < 0) {
> + dev_err(codec_dai->dev,
> + "can't set codec DAI configuration %d\n", ret);
> + return ret;
> + }
Set this in the dai_link like with the other Intel machine driver the
other day.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140225/61500c93/attachment.sig>
More information about the Alsa-devel
mailing list