diff options
author | Tim Crawford <tcrawford@system76.com> | 2022-07-09 11:00:06 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@tutanota.com> | 2022-07-16 22:53:01 +0000 |
commit | 86f410479ca91bd9cb84c5565489efe15bc2f292 (patch) | |
tree | da3c79404360efd56917014ad9549049de515050 /src/mainboard/system76/oryp5 | |
parent | 475e2824a8d08e6117632e1f67910f8266f1872e (diff) |
mb/system76/oryp5: Reset HDA before configuring
The oryp5 has several issues with audio output after a reboot:
- The device is not in GNOME sound settings
- The device is in GNOME sound settings, but there is no audio output
- The speaker output is significantly louder than normal
Reset the audio codec to resolve these issues.
Tested on Pop!_OS 22.04 with Linux 5.17.15.
Change-Id: I42f642820bba82142ff370930f0a25e9d1025588
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65733
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Diffstat (limited to 'src/mainboard/system76/oryp5')
-rw-r--r-- | src/mainboard/system76/oryp5/hda_verb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/system76/oryp5/hda_verb.c b/src/mainboard/system76/oryp5/hda_verb.c index a8e4abbad4..2d107252ad 100644 --- a/src/mainboard/system76/oryp5/hda_verb.c +++ b/src/mainboard/system76/oryp5/hda_verb.c @@ -8,6 +8,7 @@ const u32 cim_verb_data[] = { 0x155896e1, /* Subsystem ID */ 12, /* Number of entries */ AZALIA_SUBVENDOR(0, 0x155896e1), + AZALIA_RESET(1), AZALIA_PIN_CFG(0, 0x12, 0x90a60140), // DMIC AZALIA_PIN_CFG(0, 0x14, 0x0421101f), // FRONT (Port-D) AZALIA_PIN_CFG(0, 0x15, 0x40000000), // SURR (Port-A) |