Skip to contentSkip to conversation

intel-hda: do not reset codecs from intel_hda_reset

PATCH New Paolo Bonzini 1 participant 1 message Jan 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel-hda: do not reset codecs from intel_hda_reset

They are reset implicitly by walking the qdev tree, before calling intel_hda_reset.

---
 hw/intel-hda.c | 1 -
 1 file changed, 1 deletion(-)
hw/intel-hda.c +0 -1
index 98ff936..850e60f 100644
@@ -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);
Signature · 1 line
1.8.1