diff options
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 1cb85b73e19b..a867e1e8658a 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -1237,6 +1237,7 @@ void snd_hda_codec_reset(struct hda_codec *codec) | |||
1237 | } | 1237 | } |
1238 | if (codec->patch_ops.free) | 1238 | if (codec->patch_ops.free) |
1239 | codec->patch_ops.free(codec); | 1239 | codec->patch_ops.free(codec); |
1240 | codec->proc_widget_hook = NULL; | ||
1240 | codec->spec = NULL; | 1241 | codec->spec = NULL; |
1241 | free_hda_cache(&codec->amp_cache); | 1242 | free_hda_cache(&codec->amp_cache); |
1242 | free_hda_cache(&codec->cmd_cache); | 1243 | free_hda_cache(&codec->cmd_cache); |