]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - sound/pci/hda/hda_codec.c
ALSA: hda - Add regmap support
[mirror_ubuntu-artful-kernel.git] / sound / pci / hda / hda_codec.c
index 10e257ff9084229807983376b59313baec24464a..8eb42f4226ff382c662726ca8dfeb9300869e007 100644 (file)
@@ -945,6 +945,7 @@ void snd_hda_codec_cleanup_for_unbind(struct hda_codec *codec)
        snd_array_free(&codec->mixers);
        snd_array_free(&codec->nids);
        remove_conn_list(codec);
+       snd_hdac_regmap_exit(&codec->core);
 }
 
 static unsigned int hda_set_power_state(struct hda_codec *codec,