summaryrefslogtreecommitdiffstats
path: root/hw/intel-hda.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intel-hda.c')
-rw-r--r--hw/intel-hda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intel-hda.c b/hw/intel-hda.c
index 02def4c..10769e0 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) {
OpenPOWER on IntegriCloud