[alsa-devel] [PATCH 1/3] ASoC: Intel: sof_pcm512x: add support for SOF platforms with pcm512x

Mark Brown broonie at kernel.org
Thu Jan 30 15:55:48 CET 2020


On Wed, Jan 29, 2020 at 04:36:01PM -0600, Pierre-Louis Bossart wrote:

> +static int sof_pcm512x_codec_init(struct snd_soc_pcm_runtime *rtd)
> +{
> +	struct snd_soc_component *codec = rtd->codec_dai->component;
> +
> +	snd_soc_component_update_bits(codec, PCM512x_GPIO_EN, 0x08, 0x08);
> +	snd_soc_component_update_bits(codec, PCM512x_GPIO_OUTPUT_4, 0x0f, 0x02);
> +	snd_soc_component_update_bits(codec, PCM512x_GPIO_CONTROL_1,
> +				      0x08, 0x08);

These look like they might be a DAPM widget of some kind?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200130/6619133e/attachment.sig>


More information about the Alsa-devel mailing list