|
@@ -1184,6 +1184,7 @@ static void snd_hda_codec_free(struct hda_codec *codec)
|
|
|
{
|
|
|
if (!codec)
|
|
|
return;
|
|
|
+ snd_hda_jack_tbl_clear(codec);
|
|
|
restore_init_pincfgs(codec);
|
|
|
#ifdef CONFIG_SND_HDA_POWER_SAVE
|
|
|
cancel_delayed_work(&codec->power_work);
|
|
@@ -1192,6 +1193,7 @@ static void snd_hda_codec_free(struct hda_codec *codec)
|
|
|
list_del(&codec->list);
|
|
|
snd_array_free(&codec->mixers);
|
|
|
snd_array_free(&codec->nids);
|
|
|
+ snd_array_free(&codec->cvt_setups);
|
|
|
snd_array_free(&codec->conn_lists);
|
|
|
snd_array_free(&codec->spdif_out);
|
|
|
codec->bus->caddr_tbl[codec->addr] = NULL;
|