VirtualBox

Changeset 72320 in vbox for trunk/src


Ignore:
Timestamp:
May 24, 2018 9:47:17 AM (7 years ago)
Author:
vboxsync
Message:

DevHDA: Fixed two incorrect MMIO status codes causing lost of kernel log messages. ticketref:17759

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevHDA.cpp

    r71743 r72320  
    11181118#else
    11191119    RT_NOREF(pThis, iReg, pu32Value);
    1120     return VINF_IOM_R3_MMIO_WRITE;
     1120    return VINF_IOM_R3_MMIO_READ;
    11211121#endif
    11221122}
     
    31343134DECLINLINE(int) hdaWriteReg(PHDASTATE pThis, int idxRegDsc, uint32_t u32Value, char const *pszLog)
    31353135{
    3136     DEVHDA_LOCK_RETURN(pThis, VINF_IOM_R3_MMIO_READ);
     3136    DEVHDA_LOCK_RETURN(pThis, VINF_IOM_R3_MMIO_WRITE);
    31373137
    31383138    if (!(HDA_REG(pThis, GCTL) & HDA_GCTL_CRST) && idxRegDsc != HDA_REG_GCTL)
     
    45024502    PHDASTATE pThis = PDMINS_2_DATA(pDevIns, PHDASTATE);
    45034503
    4504     DEVHDA_LOCK_RETURN(pThis, VINF_IOM_R3_MMIO_WRITE);
     4504    DEVHDA_LOCK_RETURN(pThis, VERR_IGNORED);
    45054505
    45064506    LogFunc(("uLUN=%u, fFlags=0x%x\n", uLUN, fFlags));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette