summaryrefslogtreecommitdiff
path: root/src/mainboard/prodrive/hermes/mainboard.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-03 12:47:56 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-11-22 16:21:49 +0000
commit63c0fd2dbe20b7cb9c518b04e95ffe5695c651f1 (patch)
tree4805bfbf34c793a88d6ce34e0106876ebc0f4fcd /src/mainboard/prodrive/hermes/mainboard.c
parent667471b8d807da5a5a9277db47e069ad3b1351c7 (diff)
mb/prodrive/hermes: Rename "internal audio" setting
The "internal audio connection" setting is actually about the front panel audio. Rename functions and variables to reflect this. Change-Id: I1be8f68ac3e8b91bc4983dc06daa37afb7bdf926 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58904 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Justin van Son <justin.van.son@prodrive-technologies.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/prodrive/hermes/mainboard.c')
-rw-r--r--src/mainboard/prodrive/hermes/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c
index a9c840839e..6ae6b89104 100644
--- a/src/mainboard/prodrive/hermes/mainboard.c
+++ b/src/mainboard/prodrive/hermes/mainboard.c
@@ -138,7 +138,7 @@ static void mainboard_init(void *chip_info)
return;
/* Enable internal speaker amplifier */
- if (board_cfg->internal_audio_connection == 2)
+ if (board_cfg->front_panel_audio == 2)
mb_hda_amp_enable(1);
else
mb_hda_amp_enable(0);