summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-10 17:44:51 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2021-11-11 22:44:37 +0000
commit5300b0327e19fec9752d09d314c6a73869e17e90 (patch)
tree146d4706aa3ccf0e10e5a338115b0de4a60b6514 /src/soc/intel/broadwell
parent1297b9c74d419e84d7764a4939d34768096de7b1 (diff)
lynxpoint/broadwell: Use `azalia_program_verb_table()`
Use the `azalia_program_verb_table()` function in preparation to deduplicate Azalia init code. Change-Id: I22cfee41e001c9ecf4fbac37aadbd12f43ac8aaf Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59116 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell')
-rw-r--r--src/soc/intel/broadwell/pch/hda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/pch/hda.c b/src/soc/intel/broadwell/pch/hda.c
index 37f2d9f8e6..2230614887 100644
--- a/src/soc/intel/broadwell/pch/hda.c
+++ b/src/soc/intel/broadwell/pch/hda.c
@@ -24,7 +24,7 @@ static void codecs_init(u8 *base, u32 codec_mask)
}
if (pc_beep_verbs_size)
- hda_codec_write(base, pc_beep_verbs_size, pc_beep_verbs);
+ azalia_program_verb_table(base, pc_beep_verbs, pc_beep_verbs_size);
}
static void hda_pch_init(struct device *dev, u8 *base)