Re: [PATCH v2 1/2] ASoC: codecs: add support for ES8326

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 26, 2022 at 04:25:05PM +0800, Zhu Ning wrote:
> The ES8326 codec is not compatible with ES8316 and requires a dedicated driver.
> 
> Signed-off-by: David Yang <yangxiaohua@xxxxxxxxxxxxxxxx>
> Signed-off-by: Zhu Ning <zhuning@xxxxxxxxxxxxxxxx>
> -----
> +static const struct snd_soc_component_driver soc_component_dev_es8326 = {
> +	.probe		= es8326_probe,
> +	.remove		= es8326_remove,
> +	.resume		= es8326_resume,
> +	.suspend	= es8326_suspend,
> +	.set_bias_level = es8326_set_bias_level,
> +	.set_jack	= es8326_set_jack,
> +	.dapm_widgets	= es8326_dapm_widgets,
> +	.num_dapm_widgets	= ARRAY_SIZE(es8326_dapm_widgets),
> +	.dapm_routes		= es8326_dapm_routes,
> +	.num_dapm_routes	= ARRAY_SIZE(es8326_dapm_routes),
> +	.controls		= es8326_snd_controls,
> +	.num_controls		= ARRAY_SIZE(es8326_snd_controls),
> +	.use_pmdown_time	= 1,
> +	.endianness		= 1,
> +	.non_legacy_dai_naming	= 1,

The non_legacy_dai_naming flag has been removed, you will get
this behaviour by default now.

Thanks,
Charles



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux