diff options
author | Peter Ujfalusi | 2010-02-22 12:27:13 +0100 |
---|---|---|
committer | Mark Brown | 2010-02-22 15:39:42 +0100 |
commit | b9dd94a87e5b4d0e864636698931aeeeb3c9d770 (patch) | |
tree | a605b64474c3e4e6016720b62f479f1e1b6eaca5 /sound/soc/omap/omap-mcbsp.c | |
parent | ASoC: Make pmdown_time a long (diff) | |
download | kernel-qcow2-linux-b9dd94a87e5b4d0e864636698931aeeeb3c9d770.tar.gz kernel-qcow2-linux-b9dd94a87e5b4d0e864636698931aeeeb3c9d770.tar.xz kernel-qcow2-linux-b9dd94a87e5b4d0e864636698931aeeeb3c9d770.zip |
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>
Diffstat (limited to 'sound/soc/omap/omap-mcbsp.c')
0 files changed, 0 insertions, 0 deletions