Commit 7fe3530427e52dd53cd7366914864e29215180a4

Authored by Connor McAdams
Committed by Takashi Iwai
1 parent cc5edb1bd3

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 <conmanx360@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200803002928.8638-3-conmanx360@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

sound/pci/hda/patch_ca0132.c
... ... @@ -4672,7 +4672,7 @@
4672 4672 tmp = FLOAT_ONE;
4673 4673 break;
4674 4674 case QUIRK_AE5:
4675   - ca0113_mmio_command_set(codec, 0x48, 0x28, 0x00);
  4675 + ca0113_mmio_command_set(codec, 0x30, 0x28, 0x00);
4676 4676 tmp = FLOAT_THREE;
4677 4677 break;
4678 4678 default:
... ... @@ -4718,7 +4718,7 @@
4718 4718 r3di_gpio_mic_set(codec, R3DI_REAR_MIC);
4719 4719 break;
4720 4720 case QUIRK_AE5:
4721   - ca0113_mmio_command_set(codec, 0x48, 0x28, 0x00);
  4721 + ca0113_mmio_command_set(codec, 0x30, 0x28, 0x00);
4722 4722 break;
4723 4723 default:
4724 4724 break;
... ... @@ -4757,7 +4757,7 @@
4757 4757 tmp = FLOAT_ONE;
4758 4758 break;
4759 4759 case QUIRK_AE5:
4760   - ca0113_mmio_command_set(codec, 0x48, 0x28, 0x3f);
  4760 + ca0113_mmio_command_set(codec, 0x30, 0x28, 0x3f);
4761 4761 tmp = FLOAT_THREE;
4762 4762 break;
4763 4763 default: