diff --git a/hw/intel-hda.c b/hw/intel-hda.c index 02def4c1e1..10769e0f49 100644 --- a/hw/intel-hda.c +++ b/hw/intel-hda.c @@ -402,7 +402,7 @@ static bool intel_hda_xfer(HDACodecDevice *dev, uint32_t stnr, bool output, break; } } - if (st == NULL) { + if (s == 4) { return false; } if (st->bpl == NULL) {