+3
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>