commit | b9dd94a87e5b4d0e864636698931aeeeb3c9d770 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | Mon Feb 22 13:27:13 2010 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Feb 22 14:39:42 2010 +0000 |
tree | a605b64474c3e4e6016720b62f479f1e1b6eaca5 | |
parent | 6c5f1fed49f96a0600aa9a97ac3faf972c33a341 [diff] |
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 <peter.ujfalusi@nokia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>