aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMike Rapoport <[email protected]>2009-05-11 13:04:55 +0300
committerMark Brown <[email protected]>2009-05-11 19:01:51 +0100
commit914dc18255e430ceabb10b57394e01814c69c5cd (patch)
tree469a8a5ca346aa9fc7a119457222549b42a91898 /net/unix/af_unix.c
parent97a775c49c7e1b47b016a492463486a5b86da479 (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions