Skip to content

Commit 7fe3530

Browse files
Conmanx360tiwai
authored andcommitted
ALSA: hda/ca0132 - Fix AE-5 microphone selection commands.
The ca0113 command had the wrong group_id, 0x48 when it should've been 0x30. The front microphone selection should now work. Signed-off-by: Connor McAdams <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent cc5edb1 commit 7fe3530

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sound/pci/hda/patch_ca0132.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4672,7 +4672,7 @@ static int ca0132_alt_select_in(struct hda_codec *codec)
46724672
tmp = FLOAT_ONE;
46734673
break;
46744674
case QUIRK_AE5:
4675-
ca0113_mmio_command_set(codec, 0x48, 0x28, 0x00);
4675+
ca0113_mmio_command_set(codec, 0x30, 0x28, 0x00);
46764676
tmp = FLOAT_THREE;
46774677
break;
46784678
default:
@@ -4718,7 +4718,7 @@ static int ca0132_alt_select_in(struct hda_codec *codec)
47184718
r3di_gpio_mic_set(codec, R3DI_REAR_MIC);
47194719
break;
47204720
case QUIRK_AE5:
4721-
ca0113_mmio_command_set(codec, 0x48, 0x28, 0x00);
4721+
ca0113_mmio_command_set(codec, 0x30, 0x28, 0x00);
47224722
break;
47234723
default:
47244724
break;
@@ -4757,7 +4757,7 @@ static int ca0132_alt_select_in(struct hda_codec *codec)
47574757
tmp = FLOAT_ONE;
47584758
break;
47594759
case QUIRK_AE5:
4760-
ca0113_mmio_command_set(codec, 0x48, 0x28, 0x3f);
4760+
ca0113_mmio_command_set(codec, 0x30, 0x28, 0x3f);
47614761
tmp = FLOAT_THREE;
47624762
break;
47634763
default:

0 commit comments

Comments
 (0)