Mike Rapoport 914dc18255 ASoC: soc-core: fix crash when removing not instantiated card
If the card was not instantiated in snd_soc_instantiate_card, calling
soc-remove will crash because some of codec, cpu_dai and card .remove
methods are called twice.
Fix this by returning from soc_remove immediately.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-05-11 19:01:51 +01:00
..
2009-03-30 15:21:59 +02:00
2009-03-30 15:21:59 +02:00
2009-02-05 15:08:53 +01:00
2008-01-31 17:29:48 +01:00
2007-05-21 09:18:19 -07:00