[alsa-devel] [PATCH 5/7] ASoC: fsl: convert pcm030-audio-fabric to a platform-driver

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Sep 19 05:03:24 CEST 2012


On Thu, Sep 13, 2012 at 05:43:14PM -0400, Eric Millbrandt wrote:

> +static int __devexit pcm030_fabric_remove(struct platform_device *op)
> +{
> +	struct platform_device *pdev = platform_get_drvdata(op);
> +
> +	platform_device_unregister(pdev);
> +
> +	return 0;
> +}

This seems really confused...  why is a platform device registering
another platform device?  Do you mean to convert to
snd_soc_register_card()?


More information about the Alsa-devel mailing list