Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4418925pxa; Mon, 10 Aug 2020 08:38:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2hGhlC26y6JSE+3XD81RI3SJzylgzjqlA2idlW5KvWdsTNCaFnRu/7mm6h9dRTjFj2nFh X-Received: by 2002:a17:906:660b:: with SMTP id b11mr23120407ejp.509.1597073912372; Mon, 10 Aug 2020 08:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597073912; cv=none; d=google.com; s=arc-20160816; b=DF2PLO9ylobphTQjRGrG9oQY2pfDQ/ti6ZkgCR6cBvG2DjrXEU2IsUhiZGQyg1fdk4 ito2/E8FtwTOxitaAwHLcLTN1r4CmZYHrDSgU/ZzclQdGPFyfHaK3l3RLEy6TVumls1D xYQleM1VFdcUa5SiuiOCo1dSsVXbvRVUEbLMpEYofaMkR39VKfuPYck4Of4yPPTVQa4/ BHjUUzyH/upclgzQVMC7VigXSISau1M+fJ+luPOW4CsycSY0corATv8r0uYMdaduUAUj xS9pBBAXjSDxSNHm0TUGT6bT2cs6O3afN+O3KifpW0VV03dP8gY3zPMiqXJ/IA2iuAMi uNfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Hkkw7/UdWIlACiLAltPR5CRMNj+3u5dyXifSvRL5yXQ=; b=tuQdF9ICmQ7vEcAzb3CzlY2KymFjVJW1v1zV6Csgv3+mNiinyvtyfZR/Yr0VpDr/Cx MMcbcLQtOYg+ccVWY0seG4u06fOyoSnxHkq6u051Ebju4BjRDOoVe5lQGWCm5wIETMJe x8kGCpVSTv4d0qNfAOfLwY/sGK9VOcipHW8mdhDdtYnVuleJh1+mh/8DgqsaSDKH8JiB Q+J98RF7PdvkuOdmMnDgkqGg0PDNhYKdgc3+UsnAdook7vr/RsnZtvOprPZz1yU47dpA 01YQhe9og7/fMGZ4ZeDkzoWn6XCo6B1tZK/hc0pkwJh/d6+5yPGzPW7CmNrBkvlS5mg9 0SYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PK9lQn35; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zh8si9248281ejb.475.2020.08.10.08.38.08; Mon, 10 Aug 2020 08:38:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PK9lQn35; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728339AbgHJP0X (ORCPT + 99 others); Mon, 10 Aug 2020 11:26:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:60134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728247AbgHJP0M (ORCPT ); Mon, 10 Aug 2020 11:26:12 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6341922CF7; Mon, 10 Aug 2020 15:26:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597073172; bh=k9emq/KdsW08FKCMSWFUNTgkoEyy13pRKrMhiQmpdnM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PK9lQn35aJvozC1N/X/BQd2PnVoiqJuMeEGqh6JuJ5Qusj+4n4iPQMFPorWYdYTjP imaOkQbHKzzz0n03XhMyuWawhEPoA6uBCxSyRGBZwzQ820dK11n0ZGg2KeEPtBFTTB D9BMtlwOy0eozqbriDH7UHJzgLsc0Ncnyz67FV60= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Connor McAdams , Takashi Iwai Subject: [PATCH 5.4 12/67] ALSA: hda/ca0132 - Fix AE-5 microphone selection commands. Date: Mon, 10 Aug 2020 17:20:59 +0200 Message-Id: <20200810151810.032971729@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200810151809.438685785@linuxfoundation.org> References: <20200810151809.438685785@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Connor McAdams commit 7fe3530427e52dd53cd7366914864e29215180a4 upstream. 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 Cc: Link: https://lore.kernel.org/r/20200803002928.8638-3-conmanx360@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_ca0132.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -4671,7 +4671,7 @@ static int ca0132_alt_select_in(struct h tmp = FLOAT_ONE; break; case QUIRK_AE5: - ca0113_mmio_command_set(codec, 0x48, 0x28, 0x00); + ca0113_mmio_command_set(codec, 0x30, 0x28, 0x00); tmp = FLOAT_THREE; break; default: @@ -4717,7 +4717,7 @@ static int ca0132_alt_select_in(struct h r3di_gpio_mic_set(codec, R3DI_REAR_MIC); break; case QUIRK_AE5: - ca0113_mmio_command_set(codec, 0x48, 0x28, 0x00); + ca0113_mmio_command_set(codec, 0x30, 0x28, 0x00); break; default: break; @@ -4756,7 +4756,7 @@ static int ca0132_alt_select_in(struct h tmp = FLOAT_ONE; break; case QUIRK_AE5: - ca0113_mmio_command_set(codec, 0x48, 0x28, 0x3f); + ca0113_mmio_command_set(codec, 0x30, 0x28, 0x3f); tmp = FLOAT_THREE; break; default: