summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/azalia_device.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c
index 8051f2e7ee..02bbf8944f 100644
--- a/src/device/azalia_device.c
+++ b/src/device/azalia_device.c
@@ -96,8 +96,7 @@ static u16 codec_detect(u8 *base)
no_codec:
/* Codec Not found */
- /* Put HDA back in reset (BAR + 0x8) [0] */
- azalia_set_bits(base + HDA_GCTL_REG, 1, 0);
+ azalia_enter_reset(base);
printk(BIOS_DEBUG, "azalia_audio: no codec!\n");
return 0;
}