ALSA: hda - Clear codec->proc_widget_hook at reset
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Nov 2008 13:36:23 +0000 (14:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Nov 2008 13:41:09 +0000 (14:41 +0100)
commit56d17712d54d3aa3d6ef930123d692351d33217c
treea147e81aefb2cdbd27301417bca7dd9f23df45c1
parent2d34e1b3bb991a99322fb55681d1e73ada3de35c
ALSA: hda - Clear codec->proc_widget_hook at reset

Clear the remaining pointer at snd_hda_codec_reset() to avoid Oops.

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