diff options
author | FrankChu <frank_chu@pegatron.corp-partner.google.com> | 2022-02-16 16:50:11 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-21 23:58:58 +0000 |
commit | 994c1910e8608ac49ba3bfdcc5f4cb3d82884258 (patch) | |
tree | c6d7c28c8b790ad49d54aeb748dac03d593fa0ab | |
parent | f08705db4e3c3e2bc5d0b323270b1a68ceeb8972 (diff) |
mb/google/volteer/var/copano: update default codec HID to 10EC5682
Modify function to set default audio codec HID
to be original setting 10EC5682.
BUG=b:218245715
BRANCH=volteer
TEST=ALC5682-VD/ALC5682I-VS audio codec can work
Signed-off-by: Frank Chu <frank_chu@pegatron.corp-partner.google.com>
Change-Id: I30a1fe2ef8d750616f6907f86a5329f035920504
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62025
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
-rw-r--r-- | src/mainboard/google/volteer/variants/copano/variant.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/volteer/variants/copano/variant.c b/src/mainboard/google/volteer/variants/copano/variant.c index 3effcdf4d8..cdb165d523 100644 --- a/src/mainboard/google/volteer/variants/copano/variant.c +++ b/src/mainboard/google/volteer/variants/copano/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) { |