vbox5: avoid assertion in DevHDA

seen with beginning of Virtualbox 5.1.34 update

Issue #2658
This commit is contained in:
Alexander Boettcher 2018-03-14 16:57:09 +01:00 committed by Christian Helmuth
parent f2b9a6238c
commit f7cacd16a0
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1 @@
7e64e875e0a981dfdebd35561d02ff0f648ecd59
efe52d5fdff221362570a7aba614f20424c1a4ac

View File

@ -54,6 +54,15 @@
hdaBDLEDumpAll(pThis, pStream->u64BDLBase, pStream->u16LVI + 1);
#endif
/*
@@ -2658,7 +2662,7 @@
PHDASTREAM pStream = hdaStreamFromID(pThis, HDA_SD_NUM_FROM_REG(pThis, STS, iReg));
if (!pStream)
{
- AssertMsgFailed(("[SD%RU8] Warning: Writing SDSTS on non-attached stream (0x%x)\n",
+ Log3Func(("[SD%RU8] Warning: Writing SDSTS on non-attached stream (0x%x)\n",
HDA_SD_NUM_FROM_REG(pThis, STS, iReg), u32Value));
DEVHDA_UNLOCK_BOTH(pThis);
@@ -3388,7 +3392,7 @@
}
# endif /* HDA_USE_DMA_ACCESS_HANDLER */