Searched refs:snd_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/sound/soc/samsung/
H A Ds3c24xx_simtec.c301 struct platform_device *snd_dev; simtec_audio_core_probe() local
328 snd_dev = platform_device_alloc("soc-audio", -1); simtec_audio_core_probe()
329 if (!snd_dev) { simtec_audio_core_probe()
335 platform_set_drvdata(snd_dev, card); simtec_audio_core_probe()
337 ret = platform_device_add(snd_dev); simtec_audio_core_probe()
343 platform_set_drvdata(pdev, snd_dev); simtec_audio_core_probe()
347 platform_device_put(snd_dev); simtec_audio_core_probe()
360 struct platform_device *snd_dev = platform_get_drvdata(pdev); simtec_audio_remove() local
362 platform_device_unregister(snd_dev); simtec_audio_remove()

Completed in 50 milliseconds