diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-25 10:58:59 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 13:20:11 +0100 |
commit | aa92c4af15224d8a96343286cdcf7c73b2ad3809 (patch) | |
tree | 2ef8cfb38b13d1a38a55a219254b12bf68f89005 /sound/core | |
parent | f1902860161ff212c515e7ea629e880fec856a37 (diff) | |
download | kernel_samsung_aries-aa92c4af15224d8a96343286cdcf7c73b2ad3809.zip kernel_samsung_aries-aa92c4af15224d8a96343286cdcf7c73b2ad3809.tar.gz kernel_samsung_aries-aa92c4af15224d8a96343286cdcf7c73b2ad3809.tar.bz2 |
[ALSA] Fix a typo in the last fix
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>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/init.c b/sound/core/init.c index b98f7c6..d9ee27a 100644 --- 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; |