[ALSA] hda-intel - Fix NULL dereference in resume
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Aug 2007 13:15:52 +0000 (15:15 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:55 +0000 (15:58 +0200)
commit9d99f312629802f4c45306ee07618ee4978b4adc
treed3fdd0446e1b581e570336b5e12dd08f0b6b7d09
parent918f3a0e8cf67b5db966516f255eaf24d814fac0
[ALSA] hda-intel - Fix NULL dereference in resume

codec->patch_ops.init can be NULL.  Check before calling it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c