ASoC: Set card->instantiated to false when removing the card
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 4 Sep 2014 17:44:04 +0000 (19:44 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 4 Sep 2014 19:10:25 +0000 (20:10 +0100)
commit01e0df6647e713469466c7bb6d7157c2e3046192
tree81851a0bc509ccedb9444435ad5834d784b67931
parent769b475323463cf7967ec993e8aa573022fbb68b
ASoC: Set card->instantiated to false when removing the card

Set card->instantiated to false when the card is removed to make sure that
operations that expect the card to be fully instantiated do not run anymore
during card removal.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c