[alsa-devel] [PATCH 45/54 v2] ASoC: switch over to use snd_soc_register_component() on sh4 hac
Stephen Warren
swarren at wwwdotorg.org
Thu Mar 21 18:01:34 CET 2013
On 03/21/2013 04:36 AM, Kuninori Morimoto wrote:
> static int hac_soc_platform_probe(struct platform_device *pdev)
> {
> - return snd_soc_register_dais(&pdev->dev, sh4_hac_dai,
> - ARRAY_SIZE(sh4_hac_dai));
> + return snd_soc_register_component(&pdev->dev, &sh4_hac_component,
> + sh4_hac_dai, ARRAY_SIZE(sh4_hac_dai));
> }
Again, ARRAY_SIZE(sh4_hac_dai) == 1 or 2 based on #ifdef
CONFIG_CPU_SUBTYPE_SH7760, so the names might change due to falling back
to snd_soc_register_dai() instead of snd_soc_register_dais().
More information about the Alsa-devel
mailing list