From d425ddd10518b38fa107d3278cc483c036445a40 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 5 Dec 2020 18:22:58 +0100 Subject: azalia: Make `azalia_find_verb` parametric Allow to specify which table should the verb list be read from. Change-Id: Id1bc40c4364cda848f416bad9eeab1b8ca3e9512 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/48350 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/include/device/azalia_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/device') diff --git a/src/include/device/azalia_device.h b/src/include/device/azalia_device.h index 4e0674e2e3..194572578f 100644 --- a/src/include/device/azalia_device.h +++ b/src/include/device/azalia_device.h @@ -19,7 +19,7 @@ #define HDA_ICII_VALID (1 << 1) int azalia_set_bits(void *port, u32 mask, u32 val); -u32 azalia_find_verb(u32 viddid, const u32 **verb); +u32 azalia_find_verb(const u32 *verb_table, u32 verb_table_bytes, u32 viddid, const u32 **verb); void azalia_audio_init(struct device *dev); extern struct device_operations default_azalia_audio_ops; -- cgit v1.2.3