Searched refs:dmic_dev (Results 1 – 3 of 3) sorted by relevance
853 adata->dmic_dev = platform_device_register_data(sdev->dev, "dmic-codec", in amd_sof_acp_probe() 855 if (IS_ERR(adata->dmic_dev)) { in amd_sof_acp_probe() 857 return PTR_ERR(adata->dmic_dev); in amd_sof_acp_probe() 943 platform_device_unregister(adata->dmic_dev); in amd_sof_acp_probe() 958 if (adata->dmic_dev) in amd_sof_acp_remove() 959 platform_device_unregister(adata->dmic_dev); in amd_sof_acp_remove()
234 struct platform_device *dmic_dev; member
800 hdev->dmic_dev = platform_device_register_data(sdev->dev, "dmic-codec", in hda_dsp_probe() 803 if (IS_ERR(hdev->dmic_dev)) { in hda_dsp_probe() 805 return PTR_ERR(hdev->dmic_dev); in hda_dsp_probe() 942 platform_device_unregister(hdev->dmic_dev); in hda_dsp_probe() 966 if (!IS_ERR_OR_NULL(hda->dmic_dev)) in hda_dsp_remove() 967 platform_device_unregister(hda->dmic_dev); in hda_dsp_remove()