summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-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 5e9c6c9466..e1899f13c0 100644
--- a/src/device/azalia_device.c
+++ b/src/device/azalia_device.c
@@ -72,8 +72,7 @@ static int codec_detect(u8 *base)
if (!count)
goto no_codec;
- /* Set Bit 0 to 0 to enter reset state (BAR + 0x8)[0] */
- if (azalia_set_bits(base + HDA_GCTL_REG, 1, 0) < 0)
+ if (azalia_enter_reset(base) < 0)
goto no_codec;
if (azalia_exit_reset(base) < 0)