ASoC: Push platform registration down into the card
As part of the deprecation of snd_soc_device push the registration of the platform down into the card structure. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
@@ -158,7 +158,7 @@ int of_snd_soc_register_platform(struct snd_soc_platform *platform,
|
||||
|
||||
of_soc->platform_node = node;
|
||||
of_soc->dai_link.cpu_dai = cpu_dai;
|
||||
of_soc->device.platform = platform;
|
||||
of_soc->card.platform = platform;
|
||||
of_soc->card.name = of_soc->dai_link.cpu_dai->name;
|
||||
|
||||
/* Now try to register the SoC device */
|
||||
|
Reference in New Issue
Block a user