From ec21170b876fc6af00141e409bba83d958dc3c6e Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 19 Dec 2019 19:37:21 +0100 Subject: mb/**/hda_verb.{c,h}: use denary numerals for codec IDs Denary, also known as "decimal" or "base 10," is the standard number system used around the world. Therefore, make use of it. Change-Id: I7f2937bb7715e0769db3be8cb30d305f9d78b6f8 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/37849 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/facebook/fbg1701/hda_verb.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/mainboard/facebook') diff --git a/src/mainboard/facebook/fbg1701/hda_verb.c b/src/mainboard/facebook/fbg1701/hda_verb.c index 5cf820ded9..c06bbb3485 100644 --- a/src/mainboard/facebook/fbg1701/hda_verb.c +++ b/src/mainboard/facebook/fbg1701/hda_verb.c @@ -22,7 +22,7 @@ const u32 cim_verb_data[] = { 0x0000000C, /* Number of jacks */ /* HDA Codec Subsystem ID Verb Table */ - AZALIA_SUBVENDOR(0x0, 0x152D1165), + AZALIA_SUBVENDOR(0, 0x152D1165), /* Pin Widget Verb Table */ @@ -33,37 +33,37 @@ const u32 cim_verb_data[] = { 0x0017FF00, /* Pin Complex (NID 0x12) DMIC */ - AZALIA_PIN_CFG(0x0, 0x12, 0x90A60130), + AZALIA_PIN_CFG(0, 0x12, 0x90A60130), /* Pin Complex (NID 0x13) DMIC */ - AZALIA_PIN_CFG(0x0, 0x13, 0x411111F0), + AZALIA_PIN_CFG(0, 0x13, 0x411111F0), /* Pin Complex (NID 0x14) SPEAKER-OUT (Port-D) */ - AZALIA_PIN_CFG(0x0, 0x14, 0x90180110), + AZALIA_PIN_CFG(0, 0x14, 0x90180110), /* Pin Complex (NID 0x17) I2S-OUT */ - AZALIA_PIN_CFG(0x0, 0x17, 0x01011120), + AZALIA_PIN_CFG(0, 0x17, 0x01011120), /* Pin Complex (NID 0x18) MIC1 (Port-B) */ - AZALIA_PIN_CFG(0x0, 0x18, 0x411111F0), + AZALIA_PIN_CFG(0, 0x18, 0x411111F0), /* Pin Complex (NID 0x19) I2S-IN */ - AZALIA_PIN_CFG(0x0, 0x19, 0x90870140), + AZALIA_PIN_CFG(0, 0x19, 0x90870140), /* Pin Complex (NID 0x1A) LINE1 (Port-C) */ - AZALIA_PIN_CFG(0x0, 0x1A, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1A, 0x411111F0), /* Pin Complex (NID 0x1D) PC-BEEP */ - AZALIA_PIN_CFG(0x0, 0x1D, 0x40400001), + AZALIA_PIN_CFG(0, 0x1D, 0x40400001), /* Pin Complex (NID 0x1E) SPDIF-OUT */ - AZALIA_PIN_CFG(0x0, 0x1E, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1E, 0x411111F0), /* Pin Complex (NID 0x1F) SPDIF-IN */ - AZALIA_PIN_CFG(0x0, 0x1F, 0x411111F0), + AZALIA_PIN_CFG(0, 0x1F, 0x411111F0), /* Pin Complex (NID 0x21) HP-OUT (Port-A) */ - AZALIA_PIN_CFG(0x0, 0x21, 0x411111F0), + AZALIA_PIN_CFG(0, 0x21, 0x411111F0), /* POST I2S bypass output SRC */ 0x0205002D, -- cgit v1.2.3