From patchwork Thu Oct 7 16:53:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 1537811 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=V1Qwp74i; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HQHV73fxzz9sS8 for ; Fri, 8 Oct 2021 03:54:22 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mYWeo-0006mr-DD; Thu, 07 Oct 2021 16:54:10 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mYWem-0006mf-C2 for kernel-team@lists.ubuntu.com; Thu, 07 Oct 2021 16:54:08 +0000 Received: from localhost.localdomain (unknown [10.101.196.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 5BFF33F10B for ; Thu, 7 Oct 2021 16:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1633625648; bh=raxdNQE29bQPPRuMTITHDT28TuWMQpdV3t9C0SNNEUk=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=V1Qwp74iLFyQVeFuSLGnTPrhTdsIiteWrQGZ9X02xRrytP35GZj2Zq8v/DEBlgv2n xLkgLejw3g6M34Dso2yVR/xXk3AfVbV7X+48ApqA17JdCc4bFSnxpSajzQxcZTOm1F WUz8jQToD6RWknnnmrVBBSI3dKE9LcM6qznNEULHgV90fhdxyluLTjFJpB+1H0d8zt RNBG7DWlhGecSknLRNbasu5gR3x/q7jYVIXcgO3G1c8npjzBlM80hykakPAY+AGOw2 6Hn2uXoBqgNb/D4LnpFlj532k1TGVqZmk1DSd4gkxZy3J//Btq9zKNeaAUKnkX/SrJ 7GFVWn8fa38Nw== From: Kai-Heng Feng To: kernel-team@lists.ubuntu.com Subject: [SRU] [Unstable/OEM-5.13/OEM-5.14] [PATCH 0/1] Fix missing recording from headset mic Date: Fri, 8 Oct 2021 00:53:22 +0800 Message-Id: <20211007165323.281865-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1946383 [Impact] When using headset mic to record, the beginning of 2 seconds period is not recorded. [Fix] Skip shutup routines for the codec. The shutup routines somehow interferes headset mic recording. [Test] External headset mic no longer records blank period once the patch is applied. [Where problems could occur] Shutup routines are mainly for outputs like headphone and speakers. Since the patch is using a rather generic match for both ALC236 and ALC256, many systems might start to observe pop sound from the audio outputs. Kailang Yang (1): ALSA: hda/realtek - ALC236 headset MIC recording issue sound/pci/hda/patch_realtek.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)