From ca9f94854176808651d075b968aa7551cf4d2ae6 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 6 Jun 2024 18:07:54 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/82394 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Felix Singer --- src/mainboard/system76/kbl-u/variants/galp2/hda_verb.c | 8 ++++---- src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c | 8 ++++---- src/mainboard/system76/kbl-u/variants/galp3/hda_verb.c | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/mainboard/system76/kbl-u') diff --git a/src/mainboard/system76/kbl-u/variants/galp2/hda_verb.c b/src/mainboard/system76/kbl-u/variants/galp2/hda_verb.c index 208107ce36..f2ff8bd336 100644 --- a/src/mainboard/system76/kbl-u/variants/galp2/hda_verb.c +++ b/src/mainboard/system76/kbl-u/variants/galp2/hda_verb.c @@ -14,11 +14,11 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0, 0x15, 0x02211010), AZALIA_PIN_CFG(0, 0x17, 0x40000000), AZALIA_PIN_CFG(0, 0x18, 0x02a11030), - AZALIA_PIN_CFG(0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(0, 0x1b, AZALIA_PIN_CFG_NC(0)), AZALIA_PIN_CFG(0, 0x1d, 0x40f4a205), - AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)), /* Intel, KabylakeHDMI */ 0x8086280b, /* Vendor ID */ 0x80860101, /* Subsystem ID */ diff --git a/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c b/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c index 2e43bef9b7..affce10c38 100644 --- a/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c +++ b/src/mainboard/system76/kbl-u/variants/galp3-b/hda_verb.c @@ -14,11 +14,11 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0, 0x15, 0x02211010), AZALIA_PIN_CFG(0, 0x17, 0x40000000), AZALIA_PIN_CFG(0, 0x18, 0x02a11030), - AZALIA_PIN_CFG(0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(0, 0x1b, AZALIA_PIN_CFG_NC(0)), AZALIA_PIN_CFG(0, 0x1d, 0x40f4a205), - AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)), /* Intel, KabylakeHDMI */ 0x8086280b, /* Vendor ID */ 0x80860101, /* Subsystem ID */ diff --git a/src/mainboard/system76/kbl-u/variants/galp3/hda_verb.c b/src/mainboard/system76/kbl-u/variants/galp3/hda_verb.c index de588d5d4e..66222e1a9c 100644 --- a/src/mainboard/system76/kbl-u/variants/galp3/hda_verb.c +++ b/src/mainboard/system76/kbl-u/variants/galp3/hda_verb.c @@ -14,11 +14,11 @@ const u32 cim_verb_data[] = { AZALIA_PIN_CFG(0, 0x15, 0x02211010), AZALIA_PIN_CFG(0, 0x17, 0x40000000), AZALIA_PIN_CFG(0, 0x18, 0x02a11030), - AZALIA_PIN_CFG(0, 0x19, 0x411111f0), - AZALIA_PIN_CFG(0, 0x1a, 0x411111f0), - AZALIA_PIN_CFG(0, 0x1b, 0x411111f0), + AZALIA_PIN_CFG(0, 0x19, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(0, 0x1a, AZALIA_PIN_CFG_NC(0)), + AZALIA_PIN_CFG(0, 0x1b, AZALIA_PIN_CFG_NC(0)), AZALIA_PIN_CFG(0, 0x1d, 0x40f4a205), - AZALIA_PIN_CFG(0, 0x1e, 0x411111f0), + AZALIA_PIN_CFG(0, 0x1e, AZALIA_PIN_CFG_NC(0)), /* Intel, KabylakeHDMI */ 0x8086280b, /* Vendor ID */ 0x80860101, /* Subsystem ID */ -- cgit v1.2.3