intel-hda: exit cleanup
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 9 Nov 2010 10:47:44 +0000 (11:47 +0100)
committermalc <av1474@comtv.ru>
Tue, 9 Nov 2010 13:51:11 +0000 (16:51 +0300)
commit370e0c70ebc0631309628bf7c2d803ac77d21495
treee1d8682e6e5e09d7b999053ffe6dbcef69a9001f
parentd687b9226c917868fc5e09c1d5c5f9fa8de4951b
intel-hda: exit cleanup

Add pci exit callback for the intel-hda device and cleanup properly.
Also add an exit callback to the HDA bus implementation and make sure
it is called on qdev_free().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/intel-hda.c
hw/intel-hda.h