Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48352 )
Change subject: device/azalia_device.c: Replace comment with proper code ......................................................................
device/azalia_device.c: Replace comment with proper code
Change-Id: I3956ce5ec2a7abc29982504cf75b262a1c098af5 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/device/azalia_device.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/48352/1
diff --git a/src/device/azalia_device.c b/src/device/azalia_device.c index e46c27f..b18d938 100644 --- a/src/device/azalia_device.c +++ b/src/device/azalia_device.c @@ -115,7 +115,7 @@ int idx = 0;
while (idx < (verb_table_bytes / sizeof(u32))) { - u32 verb_size = 4 * verb_table[idx + 2]; // in u32 + u32 verb_size = verb_table[idx + 2] * sizeof(u32); if (verb_table[idx] != viddid) { idx += verb_size + 3; // skip verb + header continue;