projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece984a
)
ALSA: aoa: Remove superfluous snd_pcm_suspend*() calls
author
Takashi Iwai
<tiwai@suse.de>
Fri, 11 Jan 2019 17:04:02 +0000
(18:04 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 15 Jan 2019 16:47:51 +0000
(17:47 +0100)
The call of snd_pcm_suspend_all() & co became superfluous since we
call it in the PCM PM ops. Let's remove them.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/soundbus/i2sbus/core.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/aoa/soundbus/i2sbus/core.c
b/sound/aoa/soundbus/i2sbus/core.c
index c3f57a3fb1a533218144cd76930e1161e1f529bf..33e82341c048266770a60c0ac1b62466d42f0558 100644
(file)
--- a/
sound/aoa/soundbus/i2sbus/core.c
+++ b/
sound/aoa/soundbus/i2sbus/core.c
@@
-380,10
+380,6
@@
static int i2sbus_suspend(struct macio_dev* dev, pm_message_t state)
int err, ret = 0;
list_for_each_entry(i2sdev, &control->list, item) {
- /* Notify Alsa */
- /* Suspend PCM streams */
- snd_pcm_suspend_all(i2sdev->sound.pcm);
-
/* Notify codecs */
list_for_each_entry(cii, &i2sdev->sound.codec_list, list) {
err = 0;