diff options
author | Angel Pons <th3fanbus@gmail.com> | 2024-06-06 18:07:54 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-06-07 11:13:19 +0000 |
commit | ca9f94854176808651d075b968aa7551cf4d2ae6 (patch) | |
tree | c8352dbe2f1adaa340029f329c87920721be4be7 /src/mainboard/system76/addw1/variants/addw2 | |
parent | 14feda4412d0365471b46f5c2d087e02e5182d77 (diff) |
mb/**/hda_verb: Use `AZALIA_PIN_CFG_NC(0)`
Replace `0x411111f0` with `AZALIA_PIN_CFG_NC(0)`, which evaluates to the
same value and conveys additional information to the reader. Done with a
bulk search and replace operation.
Change-Id: Ibd84daec017bc1ab1ee4edd906fda80231c134cc
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82394
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/system76/addw1/variants/addw2')
-rw-r--r-- | src/mainboard/system76/addw1/variants/addw2/hda_verb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/system76/addw1/variants/addw2/hda_verb.c b/src/mainboard/system76/addw1/variants/addw2/hda_verb.c index 8175c9bb4a..54ff866b50 100644 --- a/src/mainboard/system76/addw1/variants/addw2/hda_verb.c +++ b/src/mainboard/system76/addw1/variants/addw2/hda_verb.c @@ -12,11 +12,11 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0, 0x12, 0x90a60130), // DMIC AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D) AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A) - AZALIA_PIN_CFG(0, 0x16, 0x411111f0), // CENTER/LFE (Port-G) - AZALIA_PIN_CFG(0, 0x17, 0x411111f0), // SIDE (Port-H) + AZALIA_PIN_CFG(0, 0x16, AZALIA_PIN_CFG_NC(0)), // CENTER/LFE (Port-G) + AZALIA_PIN_CFG(0, 0x17, AZALIA_PIN_CFG_NC(0)), // SIDE (Port-H) AZALIA_PIN_CFG(0, 0x18, 0x04a11040), // MIC1 (Port-B) - AZALIA_PIN_CFG(0, 0x19, 0x411111f0), // MIC2 (Port-F) - AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), // LINE1 (Port-C) + AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)), // MIC2 (Port-F) + AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), // LINE1 (Port-C) AZALIA_PIN_CFG(0, 0x1b, 0x90170110), // LINE2 (Port-E) AZALIA_PIN_CFG(0, 0x1d, 0x40b7952d), // PCBEEP AZALIA_PIN_CFG(0, 0x1e, 0x04451150), // S/PDIF-OUT |