summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicholas Sudsgaard <devel+coreboot@nsudsgaard.com>2024-09-17 02:17:51 +0000
committerFelix Held <felix-coreboot@felixheld.de>2024-09-30 11:01:42 +0000
commit6638b40691a9b375abe1f7d05a8755d58d76fc93 (patch)
tree6efeef6b4df0e8c4be42362f5a320d342fd665b4 /src
parent520f20ef52fee0922d6eae491f0b929ca8598e94 (diff)
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 <devel+coreboot@nsudsgaard.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84395 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/samsung/lumpy/hda_verb.c5
1 files changed, 4 insertions, 1 deletions
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 */