[ALSA] ac97 - NULL check in snd_ac97_suspend/resume
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Nov 2005 15:00:01 +0000 (16:00 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:20:28 +0000 (12:20 +0100)
commite26e7545e9542425f140cb4c605a7ab5a3b13e00
treeadbbb875ffba2bf48f18aa962cb0d260314744a5
parent603bf524aa4cba95e4fcd64dbfffc41f804c65ab
[ALSA] ac97 - NULL check in snd_ac97_suspend/resume

Modules: AC97 Codec

Add NULL check in snd_ac97_suspend() and snd_ac97_resume() so that
the caller doesn't have to do it by itself.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_codec.c