diff options
-rw-r--r-- | sound/aoa/soundbus/i2sbus/core.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index 4e2b4fbf2496..837ba99a7524 100644 --- a/sound/aoa/soundbus/i2sbus/core.c +++ b/sound/aoa/soundbus/i2sbus/core.c | |||
@@ -381,10 +381,8 @@ static int i2sbus_suspend(struct macio_dev* dev, pm_message_t state) | |||
381 | 381 | ||
382 | list_for_each_entry(i2sdev, &control->list, item) { | 382 | list_for_each_entry(i2sdev, &control->list, item) { |
383 | /* Notify Alsa */ | 383 | /* Notify Alsa */ |
384 | if (i2sdev->sound.pcm) { | 384 | /* Suspend PCM streams */ |
385 | /* Suspend PCM streams */ | 385 | snd_pcm_suspend_all(i2sdev->sound.pcm); |
386 | snd_pcm_suspend_all(i2sdev->sound.pcm); | ||
387 | } | ||
388 | 386 | ||
389 | /* Notify codecs */ | 387 | /* Notify codecs */ |
390 | list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { | 388 | list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { |