ASoC: Move card list initialization to snd_soc_register_card
authorStephen Warren <swarren@nvidia.com>
Fri, 28 Jan 2011 21:26:35 +0000 (14:26 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Jan 2011 13:15:35 +0000 (13:15 +0000)
commit111c6419ffeef0ef225dfdd2c8b7b03cc6bb228e
tree7fb4dc5a2af4fc00a17df031d29275ad0ce44d22
parentd316553a0cb4569a9b6260e870cab8b9c102eace
ASoC: Move card list initialization to snd_soc_register_card

All ASoC cards need snd_soc_initialize_card_lists called. Previously, it was
only called for cards backed by a "soc-audio" platform device, via
soc_probe(). However, it's also needed for cards backed by other platform
devices, and registered directly via snd_soc_register_card().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c