diff --git a/src/add-ons/kernel/busses/mmc/sdhci_pci.cpp b/src/add-ons/kernel/busses/mmc/sdhci_pci.cpp index 0b8eb660ca..796a20ae94 100644 --- a/src/add-ons/kernel/busses/mmc/sdhci_pci.cpp +++ b/src/add-ons/kernel/busses/mmc/sdhci_pci.cpp @@ -258,8 +258,7 @@ SdhciBus::ExecuteCommand(uint8_t command, uint32_t argument, uint32_t* response) // Wait for command response to be available ("command complete" interrupt) TRACE("Wait for command complete..."); - while (fRegisters->present_state.CommandInhibit() - && (fCommandResult == 0)) { + while (fCommandResult == 0) { acquire_sem(fSemaphore); TRACE("command complete sem acquired, status: %x\n", fCommandResult); TRACE("real status = %x command line busy: %d\n",