commit | c5599b87a8317738a541d8893cb327df5d04b007 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Aug 19 15:51:30 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Tue Aug 19 10:59:48 2014 -0500 |
tree | ee4241c8274d656de11921ff596bfdb0bdaeef1e | |
parent | 75af7c081982d76cef0daf26e96b5d1e8cb9d631 [diff] |
ASoC: Replace list_empty(&card->codec_dev_list) with !card->instantiated With componentization we no longer necessarily need a snd_soc_codec struct for a card. Instead of checking if the card's CODEC list is empty just use card->instantiated to check if the card has been instantiated yet. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>