Searched hist:"914 dc18255e430ceabb10b57394e01814c69c5cd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/ |
H A D | soc-core.c | diff 914dc18255e430ceabb10b57394e01814c69c5cd Mon May 11 05:04:55 CDT 2009 Mike Rapoport <mike@compulab.co.il> 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>
|