diff --git a/src/add-ons/kernel/drivers/audio/ac97/ich/config.c b/src/add-ons/kernel/drivers/audio/ac97/ich/config.c index f84d3c1d50..e8e950de4d 100644 --- a/src/add-ons/kernel/drivers/audio/ac97/ich/config.c +++ b/src/add-ons/kernel/drivers/audio/ac97/ich/config.c @@ -170,7 +170,7 @@ probe_ok: result = B_ERROR; } /* all other ICHs use programmed IO */ - if ((config->type & TYPE_ICH4) && ((config->nambar == 0) || (config->nabmbar == 0))) { + if (!(config->type & TYPE_ICH4) && ((config->nambar == 0) || (config->nabmbar == 0))) { PRINT(("ERROR: IO space not configured\n")); result = B_ERROR; }