Linux Kernel: ALSA: hda/realtek – Fix Headphone Mic doesn’t recording for ALC256

This change "ALSA: hda/realtek – Fix Headphone Mic doesn’t recording for ALC256" (commit d32b666) in Linux kernel is authored by Kailang Yang <kailang [at] realtek.com> on Thu Apr 23 15:10:53 2015 +0800.

Description of "ALSA: hda/realtek – Fix Headphone Mic doesn’t recording for ALC256"

The change "ALSA: hda/realtek – Fix Headphone Mic doesn’t recording for ALC256" introduces changes as follows.

ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256

Switch default pcbeep path to Line in path.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Tested-by: Hui Wang <hui.wang@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

Linux kernel code changes from "ALSA: hda/realtek – Fix Headphone Mic doesn’t recording for ALC256"

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 03975d03b264..4b10cde12831 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5665,6 +5665,7 @@ static int patch_alc269(struct hda_codec *codec)
    case 0x10ec0256:
        spec->codec_variant = ALC269_TYPE_ALC256;
        spec->gen.mixer_nid = 0; /* ALC256 does not have any loopback mixer path */
+       alc_update_coef_idx(codec, 0x36, 1 << 13, 1 << 5); /* Switch pcbeep path to Line in path*/
        break;
    }

The commit for this change in Linux stable tree is d32b666 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *