From patchwork Thu Mar 28 10:27:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Werner Sembach X-Patchwork-Id: 13608377 Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E06F2524BD; Thu, 28 Mar 2024 10:28:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=157.90.84.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711621695; cv=none; b=t1IeB1pMgZfaN3hPd8FUzSNYCrbC6vKlzioS0c2ZEDEE017l6EhPfXc/LJ7PWQ8wpkTTmrKUQzwGZiPt/ckZ4vqUwWtD1BEnhEvAQYPRhkhNbdLTkVkpRoHp6PRDVIeCkcnKu2LEC5IceZ/LMWRcHEFnqfDH3O4mG4vFJuoyj0c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711621695; c=relaxed/simple; bh=hRMmT1sLzmHF/7FhuqfNWfb4CFWaZrFbF4da3Q1LaHY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=OiYX1c9tNP9gK6oqVG47rRoa3kVZ5xazGFipG4iZhUSU/KDx9JnzJ4depakViJ0bQ6uAmCzo693wz8fN7I2toin85cvqqfwmikaSX1umy8r6ZGgJlaAnwI6Nfer3B/xeBwFK6E5Y16gn3EBow6gDfIIhlTNZ5leKV2GaoebwBaQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com; spf=pass smtp.mailfrom=tuxedocomputers.com; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b=te5AfHjm; arc=none smtp.client-ip=157.90.84.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxedocomputers.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=tuxedocomputers.com header.i=@tuxedocomputers.com header.b="te5AfHjm" Received: from wse.fritz.box (pd9e59192.dip0.t-ipconnect.de [217.229.145.146]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPA id 0521D2FC0063; Thu, 28 Mar 2024 11:28:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1711621684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6DbZdGuizzKUHewxg7lVLF/Pgrh6G080aJGzF6C0T5M=; b=te5AfHjmcieFmAhlRlxiejFR0f3VXBijNZmFEGDWPvauFyN1qHyseF4k5AzAHi6dMX+i0K zJ6ed/FKNIXocQwV9fQFFzjQB0pS82ypwet3tdm/hSHyLzZwIXrqfbCtkZLssebry9JTkJ 7QXKM+TwpJSfwQb+9vnj9cwvpNJcywk= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com From: Werner Sembach To: Jaroslav Kysela , Takashi Iwai Cc: Christoffer Sandberg , Werner Sembach , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek - Fix inactive headset mic jack Date: Thu, 28 Mar 2024 11:27:57 +0100 Message-Id: <20240328102757.50310-1-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Christoffer Sandberg This patch adds the existing fixup to certain TF platforms implementing the ALC274 codec with a headset jack. It fixes/activates the inactive microphone of the headset. Signed-off-by: Christoffer Sandberg Signed-off-by: Werner Sembach --- 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 a1facdb98d9a0..3b75934ee62c1 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10365,6 +10365,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1d05, 0x1147, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP), SND_PCI_QUIRK(0x1d05, 0x115c, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP), SND_PCI_QUIRK(0x1d05, 0x121b, "TongFang GMxAGxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x1387, "TongFang GMxIXxx", ALC2XX_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC), SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),