From 85c64e3ff6ef4d943026f2c25c703d67c557d23c Mon Sep 17 00:00:00 2001 From: FrankChu Date: Wed, 16 Feb 2022 16:45:03 +0800 Subject: mb/google/volteer/var/collis: update default codec HID to 10EC5682 Modify function to set default audio codec HID to be original setting 10EC5682. BUG=b:192535692 BRANCH=volteer TEST=ALC5682-VD/ALC5682I-VS audio codec can work Signed-off-by: Frank Chu Change-Id: I30fa886a39bd7082442a3a2b95fdf2d2b84ddd1c Reviewed-on: https://review.coreboot.org/c/coreboot/+/62024 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/google/volteer/variants/collis/variant.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google/volteer/variants') diff --git a/src/mainboard/google/volteer/variants/collis/variant.c b/src/mainboard/google/volteer/variants/collis/variant.c index 3effcdf4d8..cdb165d523 100644 --- a/src/mainboard/google/volteer/variants/collis/variant.c +++ b/src/mainboard/google/volteer/variants/collis/variant.c @@ -11,10 +11,10 @@ static void audio_codec_update(void) struct drivers_i2c_generic_config *config; config = codec->chip_info; - if (fw_config_probe(FW_CONFIG(AUDIO_CODEC_SOURCE, AUDIO_CODEC_ALC5682))) - config->hid = "10EC5682"; - else + if (fw_config_probe(FW_CONFIG(AUDIO_CODEC_SOURCE, AUDIO_CODEC_ALC5682I_VS))) config->hid = "RTL5682"; + else + config->hid = "10EC5682"; } void variant_devtree_update(void) { -- cgit v1.2.3