From: Peter Ujfalusi Date: Mon, 22 Feb 2010 11:27:13 +0000 (+0200) Subject: ASoC: core: On resume also check the soc device state X-Git-Tag: v2.6.34-rc1~243^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9dd94a87e5b4d0e864636698931aeeeb3c9d770;p=pandora-kernel.git ASoC: core: On resume also check the soc device state Check the card->codec on soc_resume to detect if the soc device is properly initialized. If the card->codec is NULL, than do not continue the resume operation, since the device is not initialized properly. Signed-off-by: Peter Ujfalusi Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed