diff options
Diffstat (limited to 'src/southbridge/intel/ibexpeak/azalia.c')
-rw-r--r-- | src/southbridge/intel/ibexpeak/azalia.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/azalia.c b/src/southbridge/intel/ibexpeak/azalia.c index ac950c46df..6196096a14 100644 --- a/src/southbridge/intel/ibexpeak/azalia.c +++ b/src/southbridge/intel/ibexpeak/azalia.c @@ -8,13 +8,15 @@ #include <device/mmio.h> #include <delay.h> #include <device/azalia_device.h> +#include <types.h> + #include "pch.h" static int codec_detect(u8 *base) { u8 reg8; - if (azalia_exit_reset(base) < 0) + if (azalia_exit_reset(base) != CB_SUCCESS) goto no_codec; /* Write back the value once reset bit is set. */ |