From 6638b40691a9b375abe1f7d05a8755d58d76fc93 Mon Sep 17 00:00:00 2001 From: Nicholas Sudsgaard Date: Tue, 17 Sep 2024 02:17:51 +0000 Subject: [PATCH] mb/samsung/lumpy: Correct number of jacks in hda_verb.c The verb data was not aligned to a multiple of 4, therefore an entry was repeated as padding. This has not been tested. This was found due to the `_Static_assert()` from CB:84360 failing. Change-Id: I3a40e6229419ee7d1a238916ee6d49cf9314f6ab Signed-off-by: Nicholas Sudsgaard Reviewed-on: https://review.coreboot.org/c/coreboot/+/84395 Reviewed-by: Paul Menzel Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/samsung/lumpy/hda_verb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mainboard/samsung/lumpy/hda_verb.c b/src/mainboard/samsung/lumpy/hda_verb.c index d18d8d29c8..b3350a1300 100644 --- a/src/mainboard/samsung/lumpy/hda_verb.c +++ b/src/mainboard/samsung/lumpy/hda_verb.c @@ -6,12 +6,15 @@ const u32 cim_verb_data[] = { /* coreboot specific header */ 0x10134210, // Codec Vendor / Device ID: Cirrus Logic CS4210 0x152D0924, // Subsystem ID - 0x00000007, // Number of jacks + 0x00000008, // Number of jacks /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x152D0924 */ AZALIA_SUBVENDOR(0, 0x152D0924), 0x00170500, + 0x00170500, /* Padding */ + 0x00170500, /* Padding */ + 0x00170500, /* Padding */ /* Pin Widget Verb Table */