projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def3f0a
)
ALSA: hda/ca0132 - Fix Recon3D Center/LFE output.
author
Connor McAdams
<conmanx360@gmail.com>
Tue, 25 Aug 2020 20:10:28 +0000
(16:10 -0400)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 26 Aug 2020 08:25:43 +0000
(10:25 +0200)
Properly set the GPIO pin to un-mute the Center/LFE channel on the
Recon3D.
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Link:
https://lore.kernel.org/r/20200825201040.30339-10-conmanx360@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_ca0132.c
b/sound/pci/hda/patch_ca0132.c
index
ab84ea3
..
138403f
100644
(file)
--- a/
sound/pci/hda/patch_ca0132.c
+++ b/
sound/pci/hda/patch_ca0132.c
@@
-7819,6
+7819,12
@@
static void r3d_setup_defaults(struct hda_codec *codec)
if (ca0132_quirk(spec) == QUIRK_R3DI)
r3di_gpio_dsp_status_set(codec, R3DI_DSP_DOWNLOADED);
+ /* Disable mute on Center/LFE. */
+ if (ca0132_quirk(spec) == QUIRK_R3D) {
+ ca0113_mmio_gpio_set(codec, 2, false);
+ ca0113_mmio_gpio_set(codec, 4, true);
+ }
+
/* Setup effect defaults */
num_fx = OUT_EFFECTS_COUNT + IN_EFFECTS_COUNT + 1;
for (idx = 0; idx < num_fx; idx++) {