* [Qemu-devel] [PATCH] intel-hda: do not reset codecs from intel_hda_reset
@ 2013-01-10 14:41 Paolo Bonzini
0 siblings, 0 replies; only message in thread
From: Paolo Bonzini @ 2013-01-10 14:41 UTC (permalink / raw)
To: qemu-devel; +Cc: kraxel
They are reset implicitly by walking the qdev tree, before calling intel_hda_reset.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/intel-hda.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/intel-hda.c b/hw/intel-hda.c
index 98ff936..850e60f 100644
--- a/hw/intel-hda.c
+++ b/hw/intel-hda.c
@@ -1112,7 +1112,6 @@ static void intel_hda_reset(DeviceState *dev)
QTAILQ_FOREACH(kid, &d->codecs.qbus.children, sibling) {
DeviceState *qdev = kid->child;
cdev = DO_UPCAST(HDACodecDevice, qdev, qdev);
- device_reset(DEVICE(cdev));
d->state_sts |= (1 << cdev->cad);
}
intel_hda_update_irq(d);
--
1.8.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-10 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 14:41 [Qemu-devel] [PATCH] intel-hda: do not reset codecs from intel_hda_reset Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).