mb/google/volteer/var/drobit: update default codec HID to 10EC5682
Modify function to set default audio codec HID to be original setting 10EC5682. BUG=b:204517112 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: Ic37e7e6757476f1d30bea31fcde4deebebd488a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62027 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
e46e9b04ae
commit
53d13cbb21
|
@ -11,10 +11,10 @@ static void audio_codec_update(void)
|
||||||
struct drivers_i2c_generic_config *config;
|
struct drivers_i2c_generic_config *config;
|
||||||
|
|
||||||
config = codec->chip_info;
|
config = codec->chip_info;
|
||||||
if (fw_config_probe(FW_CONFIG(AUDIO_CODEC_SOURCE, AUDIO_CODEC_ALC5682)))
|
if (fw_config_probe(FW_CONFIG(AUDIO_CODEC_SOURCE, AUDIO_CODEC_ALC5682I_VS)))
|
||||||
config->hid = "10EC5682";
|
|
||||||
else
|
|
||||||
config->hid = "RTL5682";
|
config->hid = "RTL5682";
|
||||||
|
else
|
||||||
|
config->hid = "10EC5682";
|
||||||
}
|
}
|
||||||
void variant_devtree_update(void)
|
void variant_devtree_update(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue