[alsa-devel] [PATCH 19/54 v2] ASoC: switch over to use snd_soc_register_component() on mpc5200 i2s

Shawn Guo shawn.guo at linaro.org
Mon Mar 25 04:11:08 CET 2013


On Thu, Mar 21, 2013 at 11:04:05PM -0600, Stephen Warren wrote:
> However, I do see:
> 
> > ./mpc8610_hpcd.c:213:	machine_data->dai[0].cpu_dai_name = dev_name(&ssi_pdev->dev);
> > ./p1022_ds.c:223:	mdata->dai[0].cpu_dai_name = dev_name(&ssi_pdev->dev);
> > ./p1022_rdk.c:226:	mdata->dai[0].cpu_dai_name = dev_name(&ssi_pdev->dev);
> > ./imx-sgtl5000.c:151:	data->dai.cpu_dai_name = dev_name(&ssi_pdev->dev);
> 
> That's a bit icky; DT-based systems should use .cpu_of_node, not
> .cpu_dai_name...

Yea, I'm sending a patch to change imx-sgtl5000 driver.  Thanks,
Stephen.

Shawn



More information about the Alsa-devel mailing list