projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f190286
)
[ALSA] Fix a typo in the last fix
author
Takashi Iwai
<tiwai@suse.de>
Tue, 25 Oct 2005 08:58:59 +0000
(10:58 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 4 Nov 2005 12:20:11 +0000
(13:20 +0100)
Modules: ALSA Core
Fix a typo (bogus check) in the last patch to fix Oops with suspend/resume.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/core/init.c
b/sound/core/init.c
index b98f7c6310c55ea36743788ae2dce8fea26f8b37..d9ee27ae9a510a2a1e5ff23e767fda896a9e5e37 100644
(file)
--- a/
sound/core/init.c
+++ b/
sound/core/init.c
@@
-841,7
+841,7
@@
static int snd_generic_resume(struct device *dev)
card = get_snd_generic_card(dev);
if (card->power_state == SNDRV_CTL_POWER_D0)
return 0;
- if (card->pm_
suspend
)
+ if (card->pm_
resume
)
card->pm_resume(card);
snd_power_change_state(card, SNDRV_CTL_POWER_D0);
return 0;